/* ========================================
   VALLY COSMETICS - PREMIUM BEAUTY BRAND
   Modern, Elegant, Luxury Design
   ======================================== */

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

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fff5e6;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #2c2c2c;
}

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

/* Image Loading States */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

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

/* ========== HEADER / NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 245, 230, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo a {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-width: 200px;
}

.logo a:hover .logo-image {
    transform: scale(1.05);
}

/* Hamburger Button - Hidden on Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2c2c2c;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated X when open */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: #2c2c2c;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4a574;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #d4a574;
}

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

/* ========== IMAGE SLIDER ========== */
.slider {
    margin-top: 80px;
    background-color: #ffffff;
    padding: 0;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    padding: 0;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.slide-image {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 20px;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-image:hover .slider-img {
    transform: scale(1.05);
}

.slide-image:hover {
    background: linear-gradient(135deg, #ffcfa3 0%, #ffd7ba 100%);
    transform: scale(1.02);
}

.slide-placeholder {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #d4a574;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd7ba 0%, #fff5e6 50%, #ffe6cc 100%);
    padding: 100px 20px 80px;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #5a5a5a;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #d4a574;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background-color: #c89460;
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.4);
    transform: translateY(-2px);
}

/* ========== SECTION STYLES ========== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: #6a6a6a;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about {
    background-color: #ffffff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.about-paragraph strong {
    color: #d4a574;
    font-weight: 600;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background-color: #fff5e6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Product Card */
.product-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    background: linear-gradient(135deg, #fff5e6, #ffe6cc);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #fff5e6;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-size {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4a574;
    font-weight: 600;
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #d4a574;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-info {
    padding: 1.8rem;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.8rem;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6a6a6a;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose {
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff5e6;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon .icon {
    font-size: 4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon .icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6a6a6a;
}

/* ========== TEAM SECTION ========== */
.team {
    background-color: #fff5e6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.team-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #d4a574, #c89460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.avatar-placeholder {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.team-info {
    margin-top: 1rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    color: #d4a574;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-contact {
    font-size: 0.95rem;
    color: #6a6a6a;
    margin-top: 0.5rem;
}

.team-contact a {
    color: #d4a574;
    font-weight: 500;
}

.team-contact a:hover {
    color: #c89460;
    text-decoration: underline;
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: linear-gradient(135deg, #ffd7ba 0%, #fff5e6 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d4a574;
    margin-bottom: 0.8rem;
}

.info-text {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.6;
}

.info-text a {
    color: #d4a574;
    font-weight: 500;
}

.info-text a:hover {
    color: #c89460;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background-color: #fff5e6;
    color: #2c2c2c;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #2c2c2c;
    color: #e8e8e8;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #b8b8b8;
    font-weight: 300;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #d4a574;
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.5rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: #b8b8b8;
    font-weight: 300;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    /* Logo Responsive */
    .logo-image {
        height: 50px;
        max-width: 150px;
    }
    
    /* Images Responsive */
    .slider-img {
        object-fit: cover;
    }
    
    .product-img {
        object-fit: contain;
    }
    
    /* Navigation - Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 245, 230, 0.98);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.nav-open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Slider */
    .slider {
        margin-top: 70px;
    }
    
    .slide-image {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-placeholder {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 20px 60px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Typography */
    html {
        font-size: 14px;
    }
    
    /* Logo */
    .logo-image {
        height: 45px;
        max-width: 120px;
    }
    
    /* Images */
    .slide-image {
        padding: 10px;
    }
    
    .product-image {
        padding: 5px;
    }
    
    .slider-img {
        object-fit: cover;
    }
    
    .product-img {
        object-fit: contain;
    }
    
    /* Navigation */
    .nav-menu {
        gap: 0;
    }

    .nav-link {
        font-size: 0.95rem;
    }
    
    /* Slider */
    .slider {
        margin-top: 70px;
    }
    
    .slide-image {
        height: 40vh;
        min-height: 250px;
    }
    
    .slide-placeholder {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 15px 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Product Cards */
    .product-size {
        font-size: 1.5rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    /* Feature Cards */
    .feature-icon .icon {
        font-size: 3rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    /* Team Cards */
    .team-avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-placeholder {
        font-size: 2rem;
    }
    
    .team-name {
        font-size: 1.3rem;
    }
    
    /* Contact Form */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}
