:root {
    --primary-color: #0C433B;
    --primary-light: #166358;
    --primary-dark: #062a24;
    --secondary-color: #BB8C3A;
    --secondary-light: #d6a855;
    --secondary-dark: #8c6625;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #fdfbf7;
    --glass-bg: rgba(253, 251, 247, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 30px rgba(187, 140, 58, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar .logo, .section-title {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light); /* Changed to light background for logo visibility */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loader-logo {
    width: 180px;
    max-width: 90vw;
    display: block;
    margin: 0 auto;
    animation: pulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(187, 140, 58, 0.4));
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 30px rgba(187, 140, 58, 0.8)); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(187, 140, 58, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 30px auto 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--glass-bg); /* Always have glass background so menu is visible */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
}

header.sticky {
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 90px; /* Made logo bigger */
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

header.sticky .logo img {
    height: 70px; /* Keep it slightly smaller on scroll */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color); /* Made text primary color so it's visible on light header */
    position: relative;
}

header.sticky .nav-links a {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

header.sticky .hamburger {
    color: var(--primary-color);
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(12, 67, 59, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5); /* Darken for text readability */
    transform: scale(1.1);
    transition: transform 6s ease;
}

.swiper-slide-active .slide-image {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-color);
    z-index: 50;
    pointer-events: auto;
}

.swiper-pagination-bullet {
    background: var(--text-light);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

/* General Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-desc {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* About Section */
.about {
    background: var(--bg-light);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

.about-image {
    background: #ffffff; /* Changed to white to show logo clearly */
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-image img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Collections */
.collections {
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

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

.collection-card:hover .card-img img {
    transform: scale(1.1) translateZ(20px);
}

.card-info {
    padding: 25px;
    text-align: center;
    background: #fff;
    transform: translateZ(30px);
}

.card-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.view-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.view-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-link:hover i {
    transform: translateX(5px);
}

/* Coins Section */
.coins-section {
    background: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.coins-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.1;
    top: -100px;
    left: -100px;
}

.coins-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.coins-text .section-title {
    color: var(--secondary-color);
}

.coins-text p {
    color: #ccc;
    font-size: 1.1rem;
}

.coins-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.coin-item {
    text-align: center;
    transform-style: preserve-3d;
}

.coin-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.coin-item:hover img {
    box-shadow: 0 30px 50px rgba(187, 140, 58, 0.4);
}

.coin-item h4 {
    margin-top: 15px;
    color: var(--secondary-light);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transform: translateZ(20px);
}

/* Schemes Section */
.schemes {
    background: #fff;
}

.scheme-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.scheme-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
}

.scheme-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.scheme-box:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-gold);
}

.scheme-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    background: rgba(187, 140, 58, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.scheme-box h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.scheme-box p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-item p, .info-item a {
    color: #555;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    border-top: 2px solid var(--secondary-dark);
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--secondary-light);
    font-weight: 600;
}

.developer-credit a:hover {
    color: #fff;
}

/* Floating Actions */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px; /* USER SPECIFIC REQUEST: Left hand side */
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    background: #1ebe57;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .scheme-content, .coins-wrapper, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h2 {
        font-size: 3rem;
    }
    
    .coins-display {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-light) !important;
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 50px !important;
        max-width: 65vw;
    }
    
    header.sticky .logo img {
        height: 45px !important;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        color: var(--primary-color);
        /* Remove absolute positioning to keep it inside flex container */
        position: static;
        transform: none;
        margin-left: auto;
    }
    
    .hamburger.active i::before {
        content: "\f00d"; /* fa-times */
        color: var(--text-light);
    }
    
    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .coin-item img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .coins-display {
        flex-direction: column;
        gap: 40px;
    }
}
