
: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;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 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 Styles */
.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);
}

/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.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);
}

.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 .dropdown-content {
            display: block;
            }
        .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%;
        }
        .dropdown-link-active{
            color: var(--primary);
        }
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

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

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

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(199, 174, 106, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    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);
}

.mobile-catalogue-section {
    margin: 1rem 0;
}

.mobile-nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.mobile-catalogue-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-left: 1rem;
    border-left: 2px solid var(--border);
}

.mobile-catalogue-item i {
    font-size: 1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
}

.catalogue-viewer {
    width: 100%;
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
}

/* Catalogue Header */
.catalogue-header {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.catalogue-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-lighter);
    text-align: center;
}

.catalogue-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 2rem;
}

.catalogue-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.fullscreen-btn {
    background: var(--primary);
    color: white;
}

.fullscreen-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.download-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.download-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Catalogue Container */
.catalogue-container {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.iframe-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--primary-dark);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-lighter);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-content p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c3e50;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

.fullscreen-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-fullscreen {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.fullscreen-content {
    flex: 1;
    padding: 1rem;
}

.fullscreen-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* 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;
        }

/* Responsive Design */
@media (max-width: 768px) {
            .logoimg {
        width: 3rem;
    }

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

    .page-title {
        font-size: 2rem;
    }
     /* 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;
        }
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .container {
        padding: 0 1rem;
    }

    .catalogue-title {
        font-size: 2rem;
    }

    .catalogue-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 200px;
        justify-content: center;
    }

    .catalogue-container {
        padding: 1rem;
    }

    .iframe-wrapper {
        border-radius: 8px;
    }

    .fullscreen-header {
        padding: 1rem;
    }

    .fullscreen-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .catalogue-header {
        padding: 1.5rem 0;
    }

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

    .catalogue-subtitle {
        font-size: 1rem;
    }

    .catalogue-container {
        padding: 0.5rem;
    }
}
