@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
    --indigo-ink: #1a237e;
    --gold-leaf: #d4af37;
    --warm-parchment: #f5f1e8;
    --deep-burgundy: #800020;
    --text-dark: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-dark);
    background-color: var(--warm-parchment);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--indigo-ink);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    display: flex;
    align-items: center;
}

nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--indigo-ink);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--indigo-ink);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--indigo-ink);
    transition: all 0.3s;
}

section {
    margin: 2rem 0;
    padding: 0 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9), rgba(128, 0, 32, 0.8));
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background-color: var(--deep-burgundy);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--deep-burgundy);
    border: 2px solid var(--deep-burgundy);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.handwriting-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold-leaf);
    margin: 1rem 0;
    stroke: var(--gold-leaf);
    fill: var(--gold-leaf);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 0.5rem;
}

.tool-icon {
    display: inline-block;
    font-size: 2rem;
    margin: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--indigo-ink);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

footer {
    background-color: var(--indigo-ink);
    color: #fff;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--gold-leaf);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--gold-leaf);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.privacy-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.privacy-links a {
    color: var(--gold-leaf);
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    display: none;
}

.privacy-popup.show {
    display: block;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.policy-page h1 {
    margin-bottom: 2rem;
}

.policy-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-burgundy);
}

.policy-page p {
    margin-bottom: 1rem;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-page li {
    margin-bottom: 0.5rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .handwriting-text {
        font-size: 1.5rem;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero img {
        min-height: 100%;
    }
    
    .course-card img,
    .image-gallery img,
    .policy-page img,
    section img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .hero {
        min-height: 400px;
        padding: 2rem 1rem;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

.tool-icon.animate {
    animation: shake 0.5s ease-in-out;
}

