/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4a6b7c;
    --primary-green: #5a7a5f;
    --dark-green: #3d5a40;
    --light-blue: #7a9ca8;
    --cream: #f4f1e8;
    --sand: #e8dcc4;
    --dark-text: #2c3e35;
    --light-text: #6b7c70;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(244, 241, 232, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 107, 124, 0.4), rgba(61, 90, 64, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 120px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

/* ========================================
   BUTTONS
======================================== */
.cta-button, .secondary-button, .buy-button, .submit-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-button {
    background-color: var(--primary-blue);
    color: white;
    animation: fadeInUp 1.4s ease;
}

.cta-button:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.secondary-button {
    background-color: var(--primary-green);
    color: white;
}

.secondary-button:hover {
    background-color: var(--primary-blue);
}

.buy-button {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
}

.buy-button:hover {
    background-color: var(--dark-green);
}

.submit-button {
    background-color: var(--primary-green);
    color: white;
}

.submit-button:hover {
    background-color: var(--primary-blue);
}

/* ========================================
   SECTIONS
======================================== */
.featured-section, .shop-section, .about-preview, .about-full, .contact-section, .instagram-section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.center-button {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   PRODUCT GRID
======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 350px;
    background-color: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 24px;
    margin: 20px 20px 10px;
    color: var(--dark-text);
}

.product-card .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 20px 20px;
}

.product-card .buy-button {
    margin: 0 20px 20px;
}

/* ========================================
   ABOUT PREVIEW
======================================== */
.about-preview {
    background-color: var(--sand);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
}

.text-link {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
}

.text-link:hover {
    color: var(--dark-green);
}

.about-image {
    width: 100%;
    height: 400px;
    background-color: var(--light-blue);
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter-section {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.newsletter-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.newsletter-form .submit-button {
    padding: 15px 35px;
}

.form-message {
    margin-top: 15px;
    font-size: 16px;
    color: white;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 120px 0 60px;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 72px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    font-weight: 300;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-story h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.about-story p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.contact-info p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.contact-method p {
    font-size: 16px;
    color: var(--dark-text);
    margin: 0;
}

.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--sand);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    resize: vertical;
}

/* ========================================
   INSTAGRAM FEED
======================================== */
.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-post {
    width: 100%;
    height: 300px;
    background-color: var(--sand);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--dark-green);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--sand);
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 48px;
    }
}
