/* CSS Custom Properties */
:root {
    --accent: #f05f40;
    --accent-hover: #eb3812;
    --text-dark: #222;
    --text-light: rgba(255, 255, 255, 0.7);
    --white: #fff;
    --font-body: 'Merriweather', Georgia, serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navigation */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: var(--white);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

#mainNav.scrolled .nav-brand,
#mainNav.scrolled .nav-link {
    color: var(--text-dark);
}

#mainNav.scrolled .nav-brand:hover {
    color: var(--accent);
}

#mainNav.scrolled .nav-link:hover {
    color: var(--accent);
}

/* Header */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/header.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.header-content {
    padding: 2rem;
    max-width: 1000px;
}

.header-content-inner {
    animation: fadeInUp 1s ease;
}

.logo {
    max-width: min(90%, 600px);
    height: auto;
}

hr.light {
    width: 50px;
    border: none;
    border-top: 3px solid var(--white);
    margin: 2rem auto;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Section */
#contact {
    padding: 5rem 2rem;
    background: var(--white);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    padding: 1rem;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.contact-item p {
    font-size: 0.9rem;
    margin: 0;
}

.contact-item a {
    color: var(--text-dark);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    header {
        background-attachment: scroll;
    }

    .tagline {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
