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

:root {
    /* Colors - HSL values */
    --background: hsl(42, 40%, 96%);
    --foreground: hsl(215, 25%, 15%);
    --primary: hsl(215, 28%, 17%);
    --primary-foreground: hsl(42, 40%, 96%);
    --secondary: hsl(42, 60%, 88%);
    --secondary-foreground: hsl(215, 25%, 15%);
    --accent: hsl(38, 75%, 55%);
    --accent-foreground: hsl(215, 28%, 17%);
    --border: hsl(42, 20%, 85%);
    
    /* Custom tokens */
    --navy-dark: hsl(215, 28%, 17%);
    --navy-medium: hsl(215, 25%, 30%);
    --gold: hsl(38, 75%, 55%);
    --gold-light: hsl(42, 80%, 65%);
    --cream: hsl(42, 40%, 96%);
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 5rem 0;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--primary-foreground);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo-main {
    color: var(--primary-foreground);
}

.nav-logo-accent {
    color: var(--accent);
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-decorative-line {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-decorative-bottom {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.decorative-box {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    opacity: 0.3;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px -5px var(--gold);
}

.btn-outline {
    border-color: var(--primary-foreground);
    color: var(--primary-foreground);
    background: transparent;
}

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

.btn-outline-light {
    border-color: var(--primary-foreground);
    color: var(--primary-foreground);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px -5px var(--gold);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--foreground);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Principles Section */
.principles-section {
    background-color: var(--background);
}

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

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.principle-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.principle-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.principle-description {
    color: var(--foreground);
    opacity: 0.8;
    line-height: 1.7;
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.service-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-description {
    color: var(--foreground);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--foreground);
    opacity: 0.8;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "→";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    padding: 5rem var(--container-padding);
    position: relative;
    overflow: hidden;
    color: var(--primary-foreground);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-decorative {
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -150px;
    opacity: 0.1;
    z-index: 1;
}

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

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem var(--container-padding);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-accent {
    display: block;
    color: var(--accent);
}

.footer-tagline {
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-links p {
    color: var(--primary-foreground);
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .principles-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

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

.principle-card,
.service-card {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}