:root {
    --primary: #C7AE6A;
    --primary-dark: #b99a45;
    --primary-light: #d5c28f;
    --primary-lighter: #e3d6b4;
    --dark: #000000;
    --dark-lighter: #1a1a1a;
    --background: #fefefe;
    --foreground: #1a1a1a;
    --muted: #777;
    --muted-foreground: #999;
    --border: #e3d6b4;
    --radius: 0.5rem;
}

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

body {
    background: linear-gradient(135deg, #faf8f3 0%, #ffffff 100%);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom right, #fefdf9, #f8f6ef);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-container {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logoimg {
    width: 4rem;
    height: auto;
    margin-right: 0.3rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(199, 174, 106, 0.3));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

        .nav {
            display: flex;
            align-items: center;
            gap: 2rem;
            font-size: 0.95rem;
            font-weight: 500;
            margin-left: auto;  
        }

        .nav-link {
            position: relative;
            text-decoration: none;
            color: var(--foreground);
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }
        .nav-link.active {
            color: var(--primary);
        }
        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            transition: width 0.3s ease;
        }

        .nav-link:hover::before,
            .nav-link.active::before {
                width: 100%;
            }

        .nav-link:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(199, 174, 106, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
}
/* CATALOGUE */
        .dropdown {
        position: relative;
        text-decoration: none;
        color: var(--foreground);
        padding: 0.5rem 0;
        transition: all 0.3s ease;
         }

        .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 140px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        top: 100%;
        left: 0;
        z-index: 1;
        text-decoration: none;
        text-decoration: none;
        }

        .dropdown-content a {
        color: black;
        padding: 12px 10px;
        padding-right: 0;
        text-decoration: none;
        display: block;
        }
        .dropdown-content a:hover {
        background-color: var(--primary)
        }
        .dropdown:hover::before {
        width: 100%;
        }
        .dropdown:hover .dropdown-content {
        display: block;
        }
        .dropdown:hover::before,
        .dropdown.active::before {
        width: 100%;
        }
        .dropdown-link{
            text-decoration: none;color: black;
        }
        .dropdown-link:hover::before {
            width: 100%;
        }
        .dropdown-link:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }
        .dropdown-link:hover::before,
        .dropdown-link.active::before {
            width: 100%;
        }
        .mobile-catalogue-section{
            padding-left: 2rem;
            padding-bottom: 2rem;
        }
            .mobile-catalogue-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 2rem;
            margin-left: 1rem;
            border-left: 2px solid var(--border);
        }
            .mobile-nav-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: black;
            margin-bottom: 1rem;
            display: block;
        }       
        .mobile-nav-link mobile-catalogue-item{
            padding-left: 2rem;
        }
/* Main Content */
.main-content {
    padding: 2rem 0;
    background-color: white;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-lighter);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto;
}

/* Search and Controls */
.controls-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: space-between;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 24rem;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 174, 106, 0.1);
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.view-btn:hover {
    background: var(--primary-lighter);
}

.icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.collections-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(199, 174, 106, 0.15);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    text-decoration: none;
    color: inherit;
}

.collection-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(199, 174, 106, 0.25);
}

.collection-image {
    height: 20rem;
    width: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.1);
}

.collection-content {
    padding: 1.5rem;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.collection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-lighter);
}

.collection-count {
    font-size: 0.875rem;
    color: var(--muted);
}

.collection-description {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.collection-btn {
    width: 100px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

}

.collection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 174, 106, 0.4);
}

.featured-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* List View Styles */
.collection-card.list-view {
    display: flex;
    flex-direction: row;
    height: 15rem;
}

.collection-card.list-view .collection-image {
    width: 12rem;
    height: 100%;
}

.collection-card.list-view .collection-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Footer */
        .footer {
            border-top: 1px solid var(--border);
            background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
            
        }

        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

         .footer-icon{
            padding:0px 0; text-align:center; font-family:sans-serif;
            margin:0 10px; color:#E4405F;
             font-size:25px;
        }

        

        .rightsreserv{
            padding-left:0px;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-align: center;
            

        }
        .footer-text {
            text-align: center;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-decoration: none;
        }

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .controls-section {
        flex-direction: row;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nav {
        display: none;
    }
    .mobile-menu-button {
        display: flex;
    }

    .container {
        padding: 0 1rem;
    }
    
    .logoimg {
        width: 3rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2rem;
    }
    .collection-card.list-view{
        height: 15rem;
    }

    /* list-view */
    .collection-card.list-view {
    display: flex;
    flex-direction: row;
    height: 20rem;
}

.collection-card.list-view .collection-image {
    width: 12rem;
    height: 90%;
}

.collection-card.list-view .collection-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.collection-btn {
    width: 100px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

}
 .collection-card.list-view .collection-title{
     font-size: 1rem;
    font-weight: 700;
    color: var(--dark-lighter);

 }
 .collection-card.list-view .collection-description{
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.55rem;
 }

 /* Footer */
        .footer {
            border-top: 1px solid var(--border);
            background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
            
        }

        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

         .footer-icon{
            padding:0px 0; text-align:center; font-family:sans-serif;
            margin:0 10px; color:#E4405F;
             font-size:20px;
        }

        

        .rightsreserv{
            padding-left:0px;
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-align: center;
            

        }
        .footer-text {
            text-align: center;
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-decoration: none;
        }
}
