:root {
    /* Light Luxury Theme - Adapted for Web */
    --bg-color: #ffffff;
    --bg-secondary: #fdfbf7;
    --bg-dark: #1a1a1a;
    --primary-gold: #b38b4d;
    --primary-gold-dim: #d4b886;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-white: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 900;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: var(--bg-dark);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid rgba(179, 139, 77, 0.3);
    z-index: 999999;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    height: 70px;
    border-bottom: 1px solid rgba(179, 139, 77, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .container {
    max-width: 95%;
    /* Move logo more to the left by widening the container */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
    /* Above mobile menu */
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    border: 2px solid rgba(179, 139, 77, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 3px;
    background: white;
}

nav.scrolled .logo img {
    height: 50px;
    border-color: var(--primary-gold);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a.nav-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

nav.scrolled .nav-links a.nav-item {
    color: #1a1a1a;
    font-weight: 600;
}

nav.scrolled .nav-links a.nav-item:hover,
nav.scrolled .nav-links a.nav-item.active {
    color: var(--primary-gold);
}

/* Premium Underline Animation */
.nav-links a.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dim));
    transition: width 0.3s ease;
}

.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.active::after {
    width: 100%;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
    color: var(--primary-gold);
}

/* Navbar CTA Button */
.nav-cta {
    padding: 12px 28px;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-left: 20px;
    border-radius: 4px;
}

.nav-cta:hover {
    background: var(--primary-gold);
    color: #1a1a1a;
    box-shadow: 0 8px 25px rgba(179, 139, 77, 0.4);
    transform: translateY(-2px);
}

nav.scrolled .nav-cta {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
}

nav.scrolled .nav-cta:hover {
    background: var(--bg-dark);
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
    /* Above sliding menu */
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled .hamburger span {
    background-color: var(--text-dark);
}

/* Animated Close State */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background-color: var(--primary-gold);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background-color: var(--primary-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Page Header - For subpages */
.page-header {
    height: 75vh;
    /* Increased from 60vh per user request */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/4.jpeg');
    /* Default, can be overridden */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0;
}

/* Video Background Header */
.video-header {
    background: none;
    overflow: hidden;
    height: 100vh;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero h1,
.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p,
.page-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn-gold {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-gold);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

.btn-gold:hover {
    background: var(--primary-gold);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(179, 139, 77, 0.4);
}

.btn-gold-dark {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-gold-dark:hover {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4a85a 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(179, 139, 77, 0.3);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

.gold-divider-center {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-img-group {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 15px;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.about-img-small {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 40px;
    /* Offset effect */
}

/* Products Grid */
.products {
    background: var(--bg-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Texture Gallery */
.gallery {
    background: var(--bg-dark);
    color: white;
}

.gallery h2 {
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    opacity: 0.8;
}

.gallery-item:hover img {
    opacity: 1;
}

/* Video Section */
.video-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-item h4 {
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Contact Section (Redesigned) */
.contact {
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    /* Deeper shadow */
    border-radius: 12px;
    /* Soft rounding */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Form Styles */
.contact-form {
    padding: 10px;
}

.form-group {
    margin-bottom: 25px;
    /* More breathing room */
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    /* Premium spacing */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    /* Larger padding */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background: #fdfdfd;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 15px rgba(179, 139, 77, 0.15);
    /* Golden Glow */
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.info-group {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 15px;
}

.info-content h4 {
    font-size: 0.9rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.map-frame {
    width: 100%;
    height: 400px;
    /* Taller Map */
    background: #eee;
    color: #888;
    border: 1px solid #ddd;
    margin-top: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    color: #999;
    padding: 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--primary-gold);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact span {
    font-size: 1.1rem;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom p:first-child {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.teaser-section {
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {

    .about-grid,
    .contact-container,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 30px;
    }

    .about-img-group {
        grid-template-columns: 1fr;
    }

    .about-img-small {
        margin-top: 15px;
        height: 250px;
    }

    .about-img {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-header {
        height: 50vh;
    }

    .contact-container {
        padding: 40px 30px;
        gap: 40px;
    }

    .map-frame {
        height: 300px;
    }

    /* Mobile Menu */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        padding: 60px 20px;
    }

    .nav-links.active {
        right: 0;
    }

    /* Fix mobile menu text visibility */


    .nav-links a.nav-item {
        color: #1a1a1a;
        font-size: 1rem;
        letter-spacing: 3px;
        padding: 12px 20px;
    }


    .nav-links a.nav-item:hover,
    .nav-links a.nav-item.active {
        color: var(--primary-gold);
    }

    .nav-links a.nav-item::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        padding: 15px 35px;
        border-color: var(--primary-gold);
        color: var(--primary-gold);
    }

    .nav-cta:hover {
        background: var(--primary-gold);
        color: #1a1a1a;
    }
}

/* Tablet/Small Laptop */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.5rem) !important;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .product-info {
        padding: 20px 15px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .contact-form-full {
        padding: 30px 20px !important;
        margin-top: 40px !important;
    }

    .btn-gold,
    .btn-gold-dark {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.8rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero h1,
    .page-header h1 {
        font-size: 2rem !important;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-img-wrapper {
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item {
        height: 150px;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .info-group {
        margin-bottom: 20px;
    }

    .info-icon {
        font-size: 1.2rem;
        width: 35px;
    }

    footer {
        padding: 30px 0;
    }

    footer p {
        font-size: 0.85rem;
    }
}

/* Very Small Phones */
@media (max-width: 400px) {
    nav {
        height: 70px;
    }

    .logo img {
        height: 45px;
    }

    .hero-content {
        padding: 15px;
    }

    .btn-gold,
    .btn-gold-dark {
        padding: 10px 25px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    .about-img,
    .about-img-small {
        height: 200px;
    }
}


/* Print/PDF Optimization (Landscape Slide Deck) */
@media print {
    @page {
        size: 297mm 210mm;
        /* Force A4 Landscape */
        margin: 0;
    }

    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: var(--bg-color);
        width: 297mm;
    }

    /* Hide Navigation for PDF */
    nav {
        display: none !important;
    }

    /* Hide Preloader / Back to Top */
    #preloader,
    #back-to-top {
        display: none !important;
    }

    /* Turn Sections into Slides */
    section {
        page-break-after: always !important;
        height: 210mm !important;
        /* Full page height */
        width: 100% !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 40px 0 !important;
        margin: 0 !important;
        overflow: hidden;
        /* Prevent spillover */
    }

    .hero {
        background-attachment: scroll !important;
        /* Parallax fix for print */
        background-position: center center !important;
    }

    /* Ensure grids fit on the page */
    .product-grid,
    .gallery-grid {
        gap: 15px;
    }

    .product-img-wrapper {
        height: 180px;
    }

    /* Slightly smaller for print fit */
    .gallery-item {
        height: 180px;
    }

    /* Hide Footer */
    footer {
        display: none;
    }
}