/* Variables & Reset */
:root {
    --bg-color: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    --accent-color: #d4af37;
    /* Gold */
    --accent-hover: #b59226;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title.center {
    display: block;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.95);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

.nav-social-link {
    font-size: 1.1rem !important;
    /* Slightly larger than text */
}

.nav-social-link::after {
    display: none;
    /* No underline for icons */
}

.nav-social-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    /* Subtle lift */
    display: inline-block;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('img/bg_1.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: calc(-1 * var(--nav-height));
    /* Pull behind clear/translucent nav if needed, but here we keep nav opaque-ish */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--accent-color);
}

.about-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 100%;
    min-height: 400px;
}

.service-item {
    background-color: var(--bg-secondary);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-item span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
}

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

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

.gallery-item {
    height: 300px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.map-wrapper {
    background-color: var(--bg-secondary);
    padding: 1rem;
    border: 1px solid var(--accent-color);
    height: 100%;
    min-height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg);
    /* Dark mode map effect */
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #000;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 2rem;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    /* Hamburger animation */
    .toggle .hamburger {
        background: transparent;
    }

    .toggle .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .toggle .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        /* Image first on mobile? or keep text first. Let's keep text first usually for story. REMOVE order if we want default. */
    }
}