/* CSS Custom Properties */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-300: #5eead4;
    --color-teal-400: #2dd4bf;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;
    
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-slate-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

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

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--color-slate-800);
    font-size: 1.125rem;
}

.logo-icon {
    color: var(--color-teal-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-menu a {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    transition: color 0.2s ease;
    font-weight: 400;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    color: var(--color-slate-700);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-teal-600);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-slate-700);
    border: 1px solid var(--color-slate-300);
}

.btn-secondary:hover {
    border-color: var(--color-teal-600);
    color: var(--color-teal-600);
}

.btn-outline {
    background: transparent;
    color: var(--color-teal-600);
    border: 1px solid var(--color-teal-600);
}

.btn-outline:hover {
    background: var(--color-teal-50);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
    background: linear-gradient(135deg, var(--color-slate-50) 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-title {
    margin-bottom: var(--space-lg);
    font-family: var(--font-serif);
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-teal-600);
    margin-top: var(--space-sm);
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-teal-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
    font-family: var(--font-serif);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--color-slate-500);
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: #ffffff;
}

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

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

.service-card:hover {
    border-color: var(--color-teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-teal-50);
    border-radius: var(--radius-md);
    color: var(--color-teal-600);
    margin-bottom: var(--space-md);
}

.service-title {
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-slate-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 480px;
}

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

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

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

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-teal-600);
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

/* Contact Section */
.contact {
    padding: var(--space-3xl) 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-teal-50);
    border-radius: var(--radius-md);
    color: var(--color-teal-600);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.contact-details p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.6;
}

.contact-details a {
    color: var(--color-teal-600);
    transition: color 0.2s ease;
}

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

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-slate-700);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal-500);
    box-shadow: 0 0 0 3px var(--color-teal-100);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-slate-400);
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-teal-50);
    border: 1px solid var(--color-teal-200);
    border-radius: var(--radius-md);
    color: var(--color-teal-700);
    font-size: 0.9375rem;
}

.form-success.show {
    display: flex;
}

/* Footer */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--color-slate-900);
    color: var(--color-slate-300);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-slate-800);
}

.footer-brand .logo {
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
