/* landingpage.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d9b99b;
    --secondary-color: #b17242;
    --accent-color: #f0e68c;
    --accent-hover: #daa520;
    --text-color: #333;
    --light-text: #f6f6f6;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-light: rgba(0, 0, 0, 0.3);
}

html {
    font-size: 16px; /* Base font size for responsive typography */
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Video Background */
#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    object-fit: cover;
}

/* Fallback for older browsers */
.fallback-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1001;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    width: 100%;
}

.navbar-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem);
    border-radius: 5px;
    transition: background 0.3s ease;
    position: relative;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    font-weight: 600;
}

.nav-link:hover {
    background: rgba(255, 235, 215, 0.3);
}

.nav-link.active {
    border-bottom: 2px solid #fff;
}

/* Sections - Responsive heights */
.section {
    min-height: clamp(40vh, 50vh, 60vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.25rem);
    text-align: center;
    width: 100%;
}

/* Specific alignment for Home section */
#home {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

/* Content Wrapper with Background - UPDATED FOR LIGHTER APPEARANCE */
.content {
    background-color: rgba(255, 255, 255, 0.15); /* Changed from dark to light transparent */
    backdrop-filter: blur(10px); /* Added glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border */
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Softer shadow */
    margin-top: clamp(3rem, 10vw, 6rem);
    max-width: 90%;
    width: clamp(300px, 90%, 800px);
}

/* Hero Content - UPDATED FOR INVERTED CONTAINER */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 10vh, 6rem) clamp(1rem, 5vw, 1.25rem);
    text-align: center;
    height: 100vh;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.main-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.75rem);
    color: var(--light-text);
    text-shadow: 0 0 15px rgba(0, 0, 0, 1), 0 0 10px var(--shadow-dark);
    font-weight: 700;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    margin-bottom: clamp(1rem, 3vh, 1.875rem);
}

.tagline {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    max-width: clamp(300px, 90%, 700px);
    margin: 0 auto clamp(1.5rem, 5vh, 3rem);
    line-height: 1.6;
    font-weight: 500;
}

/* About and Contact Sections */
#about, #contacts {
    min-height: clamp(40vh, 50vh, 60vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vh, 2rem) clamp(1rem, 3vw, 1.25rem);
}

#about h2, #contacts h2 {
    font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
    color: var(--light-text);
    text-shadow: 0 0 15px rgba(0, 0, 0, 1), 0 0 10px var(--shadow-dark);
    font-weight: 700;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: clamp(1rem, 3vh, 1.875rem);
}

#about p, #contacts p {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.375rem);
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    max-width: clamp(300px, 90%, 700px);
    margin: 0 auto clamp(1rem, 3vh, 1.875rem);
    line-height: 1.6;
    font-weight: 500;
}

/* Link styling for all sections */
a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Shop Now Button */
.shop-now-btn {
    display: inline-block;
    padding: clamp(0.75rem, 1.5vw, 0.9375rem) clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(to right, var(--accent-color), var(--accent-hover));
    color: #000;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-size: clamp(1rem, 1vw + 0.5rem, 1.375rem);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px var(--shadow-light);
    text-shadow: none;
    letter-spacing: 1px;
}

.shop-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(240, 230, 140, 0.7);
    text-decoration: none; /* Explicitly no underline on hover */
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vh, 1.25rem);
    margin-top: clamp(1.5rem, 3vh, 1.875rem);
    width: clamp(200px, 80%, 400px);
}

.social-icon {
    color: #ffffff;
    font-size: clamp(0.875rem, 1vw + 0.5rem, 1.25rem);
    text-decoration: none;
    padding: clamp(0.5rem, 1vw, 0.625rem) clamp(0.75rem, 2vw, 1.25rem);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.social-icon:hover {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: clamp(1rem, 2vh, 1.25rem);
    text-align: center;
    color: #fff;
    font-size: clamp(0.75rem, 0.5vw + 0.5rem, 0.875rem);
    box-shadow: 0 -2px 10px var(--shadow-light);
    font-weight: 500;
    width: 100%;
}

/* Extra wide screens */
@media (min-width: 1921px) {
    html {
        font-size: 18px;
    }
    
    .hero-content, #about, #contacts {
        max-width: 1800px;
    }
    
    .content {
        max-width: 1000px;
    }
}

/* Large screens */
@media (min-width: 1441px) and (max-width: 1920px) {
    html {
        font-size: 17px;
    }
    
    .hero-content, #about, #contacts {
        max-width: 1600px;
    }
}

/* Standard desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
    html {
        font-size: 16px;
    }
}

/* Small desktop and tablets landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .main-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }
}

/* Tablets portrait */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-right {
        width: 100%;
        justify-content: space-around;
    }
    
    .section {
        min-height: clamp(40vh, 50vh, 60vh);
    }
}

/* Mobile landscape */
@media (max-width: 640px) {
    html {
        font-size: 13px;
    }
    
    .nav-link {
        padding: 8px 12px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .navbar-right {
        flex-direction: row;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 6px 10px;
    }
    
    .section {
        min-height: clamp(30vh, 40vh, 50vh);
        padding: 1.5rem 1rem;
    }
    
    .shop-now-btn {
        padding: 0.5rem 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    html {
        font-size: 11px;
    }
    
    .navbar-right {
        gap: 5px;
    }
    
    .nav-link {
        padding: 5px 8px;
        font-size: 0.8125rem;
    }
}

/* Height-based media queries for shorter screens */
@media (max-height: 600px) {
    #home {
        min-height: 120vh; /* Allows for scrolling on very short screens */
    }
    
    .hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .main-title {
        margin-bottom: 0.75rem;
    }
    
    .tagline {
        margin-bottom: 1rem;
    }
}