@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Raleway:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-primary: #fff;
  --color-secondary: #f2efe9;
  --color-accent: #413c38;
  --color-text: #413c38;
  --color-text-secondary: #413c38cb;
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  background-color: white;
  transition: all 0.4s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  position: absolute;
  left: 42%;
  text-align: center;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links-left,
.nav-links-right {
  display: flex;
  gap: 1.5rem;
}

.nav-links-left { margin-right: 20px; }
.nav-links-right { margin-left: 80px; }

.nav-link {
  
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  text-transform:uppercase;
}

.nav-link:hover {
  transform: scale(1.05);
  text-shadow: 0 0 8px rgba(143, 78, 24, 0.6);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links-mobile {
  display: none;
}

.nav-links-mobile.active {
  transform: translateX(0);
}

/* Responsive Header */
@media (max-width: 768px) {
  .nav-links-left,
  .nav-links-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    background-color: #fff;
    padding: 3.5rem 1rem 1rem;
    gap: 1.2rem;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-links-mobile a {
    font-size: 0.95rem;
    color: #413c38;
  }

  .logo {
    position: static;
  }
}

.milanzi-footer {
            background: #2c2c2c; /* Dark gray background */
            color: #ccc;
             font-family: 'Playfair Display', serif;

            padding: 80px 20px 20px;
            line-height: 1;
        }

        /* GRID */
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            padding-bottom: 60px;
            border-bottom: 1px solid #444;
            text-align: center; /* Center all content */
        }

        /* BRAND */
        .brand-title {
            font-size: 2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }

        .brand-tagline {
            font-size: 0.95rem;
            color: #aaa;
            line-height: 1.6;
            max-width: 320px;
            margin: 0 auto; /* Center the tagline */
        }

        /* SECTION TITLES */
        .footer-heading {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ccc;
            margin-bottom: 18px;
        }

        /* LINKS */
        .footer-links ul,
        .footer-contact ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li,
        .footer-contact li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: #fff;
        }

        /* CONTACT */
        .footer-contact li {
            display: flex;
            align-items: center;
            justify-content: center; /* Center contact items */
            gap: 12px;
            font-size: 0.95rem;
        }

        .footer-contact svg {
            width: 18px;
            height: 18px;
            stroke: #fff;
        }

        /* SOCIAL */
        .footer-social {
            text-align: center; /* Center social section */
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap;
            justify-content: center; /* Center social icons */
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: #fff;
            font-size: 18px;
            transition: all 0.3s ease;
            background: #555; /* White social media icons */
        }

        .social-icons a:hover {
            transform: translateY(-5px) scale(1.1);
            filter: brightness(1.3);
        }

        /* BOTTOM BAR */
        .footer-bottom {
            display: flex;
            justify-content: center; /* Center bottom content */
            align-items: center;
            padding-top: 20px;
            font-size: 0.9rem;
            color: #888;
            flex-wrap: wrap;
            text-align: center;
        }

        .privacy-link {
            color: #888;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .privacy-link:hover {
            color: #fff;
        }

        /* ==============================
           RESPONSIVE DESIGN
           ============================== */

        /* Large Tablets */
        @media (max-width: 1225px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            .footer-social {
                grid-column: span 2;
                text-align: center;
            }
            .social-icons {
                justify-content: center;
            }
            .brand-tagline {
                max-width: 100%;
                margin: 0 auto;
            }
        }

        /* Small Tablets and Large Phones */
        @media (max-width: 900px) {
            .milanzi-footer {
                padding: 60px 20px 20px;
            }
            .footer-container {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
            .footer-social {
                grid-column: span 2;
                text-align: center;
            }
            .social-icons {
                justify-content: center;
            }
        }

        /* Mobile Phones */
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 35px;
                text-align: center;
            }

            .brand-title {
                font-size: 1.7rem;
            }

            .footer-social {
                text-align: center;
            }

            .social-icons {
                justify-content: center;
            }

            .footer-contact li {
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
        }

        /* Extra Small Phones (≤ 480px) */
        @media (max-width: 480px) {
            .milanzi-footer {
                padding: 50px 15px 15px;
            }

            .brand-title {
                font-size: 1.5rem;
            }

            .footer-heading {
                font-size: 1rem;
            }

            .social-icons a {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }
        }