/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background: #f5f5d5;
    color: #003087;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: url('/wp-content/themes/customtheme/images/aerial.png') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #87CEEB;
}

.animated-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('/wp-content/themes/customtheme/images/clouds.png') repeat-x;
    animation: drift 60s linear infinite;
    background-color: transparent;
}

.hero-content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.hero-teens {
    max-height: 50vh;
    width: auto;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-teens:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: 4em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
    font-style: italic;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: bounceIn 1.5s ease-out;
}

.hero-ctas {
    margin-top: 20px;
}

.cta-button {
    background: linear-gradient(45deg, #40c4c2, #33a8a6);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-family: 'Bangers', cursive;
    font-size: 1.1em;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 10px;
}

.cta-button:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Services Section */
.services-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #f5f5d5;
    border-radius: 10px;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 2em;
    color: #003087;
    border-bottom: 2px solid #40c4c2;
    padding-bottom: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.service-item {
    background: #40c4c2;
    color: #003087;
    border: 2px solid #40c4c2;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 300px;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 10px;
    text-align: center;
}

.service-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    color: #003087;
}

.service-description {
    font-size: 1em;
    margin: 5px 0 0;
    color: black;
}

.service-item:hover {
    border-color: #003087;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.services-note {
    text-align: center;
    font-size: 1.1em;
    color: #333;
    margin-top: 20px;
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-text strong {
    background: #40c4c2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
}

/* Reviews Section */
.reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reviews-slider {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.review-item {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 20s infinite;
}

.review-item:nth-child(1) { animation-delay: 0s; }
.review-item:nth-child(2) { animation-delay: 4s; }
.review-item:nth-child(3) { animation-delay: 8s; }
.review-item:nth-child(4) { animation-delay: 12s; }
.review-item:nth-child(5) { animation-delay: 16s; }

.review-quote {
    font-size: 1.2em;
    font-style: italic;
    color: #003087;
    margin: 0;
    padding: 10px;
}

.review-author {
    font-weight: bold;
    color: #40c4c2;
    margin: 5px 0;
}

.review-date {
    font-size: 0.9em;
    color: #333;
    margin: 0;
}

.no-reviews {
    text-align: center;
    font-size: 1.1em;
    color: #333;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    5% { opacity: 1; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #f5f5d5;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-input {
    padding: 10px;
    border: 1px solid #40c4c2;
    border-radius: 5px;
    resize: vertical;
    min-height: 100px;
}

.contact-input:not([type="textarea"]) {
    min-height: auto;
}

.contact-note {
    font-size: 0.9em;
    color: #333;
    margin: 5px 0 0;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.modal-content {
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-title {
    color: #003087;
    font-family: 'Bangers', cursive;
    margin-top: 0;
    text-align: center;
}

.modal-input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #40c4c2;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.modal-button {
    background: #40c4c2;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-family: 'Bangers', cursive;
    font-size: 1.2em;
}

.modal-button:hover {
    background: #33a8a6;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #003087;
}

.close:hover {
    color: #e74c3c;
}

@keyframes zoomIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .hero-title { font-size: 2em; }
    .hero-subtitle { font-size: 1em; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-teens { max-height: 40vh; }
    .modal-content {
        width: 95%;
        padding: 15px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}