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

:root {
    --teal-900: #0d3b3e;
    --teal-800: #1a5c5f;
    --teal-700: #247a7d;
    --teal-600: #2d9a9d;
    --teal-500: #36b5b8;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --gold: #c9a962;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--slate-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--teal-700);
    color: var(--white);
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 92, 95, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--teal-900);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--teal-700);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--slate-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

.nav a:hover {
    color: var(--teal-700);
}

.nav .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--slate-800);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 59, 62, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-200);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--slate-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--slate-700);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--teal-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--slate-50);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--slate-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--teal-500);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--teal-700);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--slate-900);
}

.service-card p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background-color: var(--slate-900);
    color: var(--white);
}

.contact .section-tag {
    color: var(--teal-500);
}

.contact .section-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.contact-text {
    font-size: 1.125rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background-color: var(--teal-800);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.6;
}

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

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: grid;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--teal-500);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a:hover {
    color: var(--teal-500);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 2rem;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

    .about-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .contact-map {
        min-height: 300px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}
