:root {
    --navy: #323c60;
    --coastal-tan: #ceb18f;
    --soft-blue: #67869a;
    --cream: #F8F6F2;
    --charcoal: #3A3A3A;
    --sand: #E8DCC8;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--cream);
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--coastal-tan);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    opacity: 0;
    animation: fadeInRotate 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInRotate {
    from { opacity: 0; transform: rotate(-180deg) scale(0.5); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--soft-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coastal-tan);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--soft-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cta-nav {
    background: var(--navy);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-nav::after {
    display: none;
}

.cta-nav:hover {
    background: var(--soft-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 62, 80, 0.3);
}

/* Page Header */
.page-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--soft-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,10 600,50 T1200,50 L1200,0 L0,0 Z" fill="rgba(206,177,143,0.1)"/></svg>') repeat-x bottom;
    background-size: 1200px 120px;
    opacity: 0.3;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Content Section */
.content-section {
    padding: 5rem 2rem;
}

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

/* Image Text Grid */
.image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.image-text-grid.reverse {
    direction: rtl;
}

.image-text-grid.reverse > * {
    direction: ltr;
}

.grid-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.grid-content h2 {
    margin-bottom: 1.5rem;
}

.grid-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Stats Bar */
.stats-bar {
    background: var(--navy);
    padding: 4rem 2rem;
    margin: 5rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--coastal-tan);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--coastal-tan);
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--soft-blue);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
    color: var(--coastal-tan);
}

.card-icon .cca-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    color: var(--coastal-tan);
}

.preview-card-icon .cca-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    color: var(--navy);
}

.preview-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
    color: var(--navy);
}


.card h3 {
    margin-bottom: 1rem;
}

.card p {
    line-height: 1.7;
}

/* Quote Box */
.quote-box {
    background: var(--light-gray);
    padding: 3rem;
    border-left: 6px solid var(--coastal-tan);
    border-radius: 8px;
    margin: 4rem 0;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.9;
}

.quote-box strong {
    font-style: normal;
    color: var(--navy);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--soft-blue) 0%, var(--navy) 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--coastal-tan);
    color: var(--navy);
    padding: 1.25rem 3rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--coastal-tan);
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--coastal-tan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .image-text-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-text-grid.reverse {
        direction: ltr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 8rem 1.5rem 3rem;
    }
    
    .content-section {
        padding: 3rem 1.5rem;
    }
    
    .stats-bar {
        padding: 3rem 1.5rem;
    }
}

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

/* Primary button — navy on sand pages */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

/* Background pattern utility */
.pattern-bg {
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(206, 177, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(103, 134, 154, 0.05) 0%, transparent 50%);
}
