/* CSS Variables for Theming (Gold & Neutral Palette) */
:root {
    --gold: #D4AF37; /* Matches logo gold */
    --dark-blue: #0A2540; /* Building window tones */
    --light-beige: #F5F5F0; /* Background subtlety */
    --text-dark: #333;
    --text-light: #FFF;
    --transition: 0.3s ease;
}

/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background: var(--light-beige);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif; /* Custom elegant serif font */
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section with Parallax & Gradient Overlay */
.hero {
    height: 100vh;
    background: url('assets/building-composite.jpg') no-repeat center/cover fixed; /* Parallax effect */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(10, 37, 64, 0.5)); /* Gold-blue gradient with opacity */
    filter: blur(5px); /* Subtle blur for depth (2025 trend) */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

.logo {
    width: 200px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7)); /* Glow effect */
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.05); /* Micro-interaction */
}

h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background var(--transition), box-shadow var(--transition);
}

.cta-button:hover {
    background: var(--dark-blue);
    box-shadow: 0 0 15px var(--gold); /* Hover glow */
}

/* About Section */
.section-image {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition);
}

.section-image:hover {
    transform: translateY(-5px);
}

/* Services Section with Grid & Cards */
.services {
    background: linear-gradient(to bottom, var(--light-beige), #EDEDED);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2); /* Gold shadow effect */
}

/* Contact Section */
.contact {
    background: var(--dark-blue);
    color: var(--text-light);
}

.contact form {
    background: rgba(245, 245, 240, 0.65); /* Semi-transparent beige */
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15); /* Subtle gold glow shadow */
    transition: transform 0.4s ease;
}
.contact form:hover { transform: translateY(-5px); }

.contact input, .contact textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

.contact button {
    align-self: flex-start;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll-Triggered Visibility (Add JS for this) */
 /* In production, add: 
 const sections = document.querySelectorAll('.section');
 const observer = new IntersectionObserver(entries => {
     entries.forEach(entry => {
         if (entry.isIntersecting) entry.target.classList.add('visible');
     });
 });
 sections.forEach(section => observer.observe(section));
 */

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .container { padding: 2rem 1rem; }
}

.contact input:focus, .contact textarea:focus { outline: 2px solid var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(10, 37, 64, 0.6));
    backdrop-filter: blur(8px) brightness(1.1);
}
.cta-button:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--gold); }

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0; /* Behind hero content but above background */
    pointer-events: none; /* Allows clicks through */
    opacity: 0.8; /* Subtle integration */
}
.hero { position: relative; } /* Ensure hero contains it */