:root
{
    --primary: #c5a059;
    --primary-dark: #a68545;
    --secondary: #1a1a1a;
    --bg-dark: #0f0f0f;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #d4af37;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

h1,
h2,
h3,
.serif
{
    font-family: 'Playfair Display', serif;
}

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

.btn
{
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

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

.btn-filled
{
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-filled:hover
{
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Header */
header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled
{
    padding: 15px 0;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

nav
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo
{
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.nav-links
{
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a
{
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero
{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.hero-content
{
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-content h1
{
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p
{
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

/* Sections */
section
{
    padding: 100px 0;
}

.section-title
{
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title .divider
{
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto;
}

/* Project Grid */
.project-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card
{
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

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

.project-card:hover img
{
    transform: scale(1.1);
}

.project-info
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-info
{
    transform: translateY(0);
    opacity: 1;
}

/* Stats */
.stats
{
    background-color: #141414;
    padding: 60px 0;
}

.stats-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3
{
    font-size: 48px;
    color: var(--primary);
}

.stat-item p
{
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp
{
    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal
{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active
{
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer
{
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col h4
{
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul
{
    list-style: none;
}

.footer-col ul li
{
    margin-bottom: 10px;
}

.footer-col a
{
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Mobile Navigation Toggle */
.mobile-menu-toggle
{
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

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

.mobile-menu-toggle.active span:nth-child(1)
{
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2)
{
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3)
{
    transform: translateY(-8px) rotate(-45deg);
}

/* Project Card Enhancements */
.project-info .btn-text
{
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.project-card:hover .btn-text
{
    border-bottom-color: var(--primary);
}

/* Testimonials */
.testimonials-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-item
{
    background: #141414;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.testimonial-item:hover
{
    border-color: var(--primary);
    transform: translateY(-10px);
}

.quote-icon
{
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-author
{
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info strong
{
    display: block;
    color: var(--primary);
    font-size: 16px;
}

.author-info span
{
    font-size: 13px;
    color: var(--text-muted);
}

/* Modal */
.modal
{
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
}

.modal-content
{
    background-color: #141414;
    margin: auto;
    max-width: 1000px;
    position: relative;
    animation: modalAnim 0.5s ease;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

@keyframes modalAnim
{
    from
    {
        opacity: 0;
        transform: translateY(50px);
    }

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

.close-modal
{
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-light);
    font-size: 35px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover
{
    color: var(--primary);
}

.modal-body
{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.modal-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details
{
    padding: 60px 40px 60px 0;
}

.modal-details h2
{
    font-size: 36px;
    margin-bottom: 10px;
}

.modal-details .location
{
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.modal-details .divider
{
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin-bottom: 30px;
}

.modal-details p
{
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.project-features h4
{
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 18px;
}

.project-features ul
{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.project-features ul li
{
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-features ul li::before
{
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 10px;
}

/* Responsive Overrides */
@media (max-width: 992px)
{
    .modal-body
    {
        grid-template-columns: 1fr;
    }

    .modal-details
    {
        padding: 40px;
    }
}

@media (max-width: 768px)
{
    .nav-links
    {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0f0f0f;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        padding: 40px;
        z-index: 1000;
    }

    .nav-links.active
    {
        right: 0;
    }

    .mobile-menu-toggle
    {
        display: flex;
    }

    .hero-content h1
    {
        font-size: 42px;
    }

    .stats-grid
    {
        grid-template-columns: 1fr 1fr;
    }

    section
    {
        padding: 60px 0;
    }
}