:root {
    --primary-color: #F5F5F5;
    --secondary-color: #222222;
    --accent-color: #D4AF37;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* =================================
   Header Styles
   ================================= */

/* Default Mobile Styles */
.mobile-view header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-view header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.mobile-view .logo h1 {
    font-family: "Sansation", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #C08081;
}

.mobile-view header .hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0.5rem;
}

.mobile-view header .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-view header .nav-container.active {
    transform: translateX(0);
}

.mobile-view header .main-nav {
    display: block;
}

.mobile-view header .main-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.mobile-view header .main-nav ul li {
    margin: 1.5rem 0;
}

.mobile-view header .main-nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 500;
}

.mobile-view header .header-icons {
    display: flex;
    margin-top: 3rem;
}

.mobile-view header .header-icons a {
    margin: 0 1.5rem;
    color: var(--secondary-color);
}

/* Desktop Styles */
.desktop-view header {
    width: 95%;
    max-width: 900px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    border-bottom: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    z-index: 1000;
}

.desktop-view header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.desktop-view .logo {
    display: flex;
    align-items: center;
}

.desktop-view .logo h1 {
    font-size: 2rem;
    font-family: "Sansation", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #C08081;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.desktop-view header .hamburger {
    display: none;
}

.desktop-view header .nav-container {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    backdrop-filter: none;
    flex-direction: row;
    transform: none;
    transition: none;
    display: flex;
    align-items: center;
}

.desktop-view header .main-nav {
    display: block;
}

.desktop-view header .main-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    padding: 0;
}

.desktop-view header .main-nav ul li {
    margin: 0 0 0 2rem;
}

.desktop-view header .main-nav ul li a {
    font-size: 1rem;
    position: relative;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
}
    
.desktop-view header .main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-view header .main-nav ul li a:hover::after {
    width: 100%;
}

.desktop-view header .header-icons {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-left: 2rem;
}

.desktop-view header .header-icons a {
    margin: 0 0 0 1.5rem;
    color: var(--secondary-color);
}


/* =================================
   Other Sections
   ================================= */

.search-bar-container {
    position: fixed;
    top: 100px;
    left: 50%;
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.search-bar-container.active {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.search-bar-container input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-bar-container button {
    padding: 0.6rem 1.5rem;
    border: none;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    outline: none;
    margin-left: 0.5rem;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

#gallery {
    padding: 6rem 0;
    text-align: center;
}

#gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
}

#about {
    padding: 4rem 0;
    text-align: center;
    background-color: #fff;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 3rem 0;
    text-align: center;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.bag-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.desktop-view .hero-content h2 {
    font-size: 4rem;
}
.desktop-view .product-layout, .desktop-view .bag-layout {
    grid-template-columns: 2fr 1fr;
}
.desktop-view .checkout-layout {
    grid-template-columns: 1fr 1fr;
}
