/* CSS Variables for Strict Black and Gold Theme */
:root {
    --primary-color: #c09e6f;       /* Gold */
    --primary-color-hover: #ddb57f; /* Lighter Gold */
    --dark-bg: #000000;             /* Pure Black */
    --darker-bg: #111111;           /* Off Black */
    --text-color: #ffffff;          /* White */
    --text-muted: rgba(255, 255, 255, 0.7);
    --font-heading: 'Volkhov', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

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

a:hover {
    color: var(--primary-color-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg) !important;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-color);
    color: var(--text-color) !important;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(192, 158, 111, 0.2);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

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

.primary-nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

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

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
}
.nav-links a.active:not(.btn) {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--dark-bg);
    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: 70% center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    width: 100%;
    padding-top: 90px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.hero-title span {
    color: var(--text-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-content > * {
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-eyebrow,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* General Section */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* Services Grid */
.services-section {
    background-color: var(--dark-bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.service-card {
    background-color: var(--darker-bg);
    border: 1px solid rgba(192, 158, 111, 0.2);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}
.service-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.service-card img {
    width: calc(100% + 80px);
    max-width: none;
    margin: -40px -40px 30px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image img {
    width: 100%;
    border: 1px solid rgba(192, 158, 111, 0.3);
}
.about-text .section-title {
    text-align: left;
    font-size: 2.4rem;
    margin-bottom: 25px;
}
.about-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 30px 0 10px;
}
.about-text p {
    color: var(--text-muted);
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--darker-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3/4;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.gallery-overlay span {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Page Header (for Services page) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background-color: var(--darker-bg);
    border-bottom: 1px solid rgba(192, 158, 111, 0.2);
}
.page-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}


.page-header .hero-cta {
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(192, 158, 111, 0.2);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(192, 158, 111, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 1025px) {
    .hero {
        background-attachment: fixed;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.65);
    }

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

    .hero-content > * {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .page-title {
        font-size: 2.6rem;
    }

    .mobile-toggle {
        display: block;
    }
    
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .primary-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    /* Hamburger animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
