/* CSS Variables */
:root {
    --primary-color: #89c8d1;
    --secondary-color: #f5f7fa;
    --accent-color: #2c3e50;
    --text-color: #333;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-height: 180px;
    width: auto;
}

/* Navigation */
.nav {
    background: var(--white);
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background: var(--primary-color);
}

.section-title {
    font-family: 'Lobster', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(137, 200, 209, 0.4), rgba(137, 200, 209, 0.4));
    color: var(--text-color);
    text-align: center;
    padding: 6rem 0;
}

.hero-title {
    font-family: 'Lobster', cursive;
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Statistics Section */
.stats {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card-2 {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-family: 'Lobster', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.card-text {
    line-height: 1.6;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* Staff Cards */
.staff-card {
    text-align: center;
}

.staff-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    background: var(--light-gray);
}

.staff-name {
    font-family: 'Lobster', cursive;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.staff-role {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-info {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Contact Form */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Section */
.contact-with-image {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details .contact-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-details .contact-link {
    word-break: break-all;
    hyphens: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-title {
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: bold;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    margin-bottom: 1rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.back-to-top::before {
    content: "↑";
    font-weight: bold;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
}

.cookie-banner p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-buttons button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.cookie-buttons button:hover {
    background: var(--white);
    color: var(--accent-color);
}

.card ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.card ul li a:hover {
    text-decoration: underline;
}

/* Form validation */
.field-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .grid {
        gap: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .staff-image {
        width: 150px;
        height: 150px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-with-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .contact-image {
        width: 100px;
        height: 100px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .hero,
    .footer {
        display: none;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: inherit;
    }
    
    a[href^="mailto:"]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="tel:"]:after {
        content: " (" attr(href) ")";
    }
}