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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #4A2C2A;
    background: #FFF8E1;
}

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

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #FF8C42 0%, #D2691E 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.family-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.company-info h1 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.phone {
    font-size: 1.3em;
    font-weight: bold;
}

.language-toggle {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.lang-btn:hover,
.lang-btn.active {
    background: white;
    color: #FF8C42;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,140,66,0.1), rgba(135,206,235,0.1));
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #4A2C2A;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    color: #5D4037;
    line-height: 1.6;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255,140,66,0.2);
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-nav {
    text-align: center;
    padding: 20px;
    background: white;
}

.nav-dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #87CEEB;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover,
.nav-dot.active {
    background-color: #FF8C42;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #4A2C2A;
    line-height: 1.4;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE4B5 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255,140,66,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #FFB347;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,140,66,0.25);
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #4A2C2A;
}

.service-card p {
    color: #5D4037;
    line-height: 1.6;
}

/* Message Styles */
#formMessages {
    position: relative;
    min-height: 60px;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF8C42 0%, #87CEEB 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 50px;
    line-height: 1.4;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
    line-height: 1.4;
}

#contactForm {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    background: rgba(255,255,255,0.9);
}

#contactForm textarea {
    height: 120px;
    resize: vertical;
}

#contactForm button {
    width: 100%;
    padding: 15px;
    background: #8FBC8F;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contactForm button:hover {
    background: #6B8E23;
    transform: translateY(-2px);
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-info p {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #FFF8E1;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #4A2C2A;
    line-height: 1.4;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255,140,66,0.15);
    transition: transform 0.3s ease;
    border: 2px solid #FFB347;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card h4 {
    color: #4A2C2A;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.review-card p {
    color: #5D4037;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-date {
    color: #87CEEB;
    font-size: 0.9em;
}

.review-summary {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255,140,66,0.15);
    border: 2px solid #FFB347;
}

.review-summary p {
    font-size: 1.3em;
    margin: 10px 0;
    color: #4A2C2A;
}

/* Footer */
.footer {
    background: #4A2C2A;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #FFE4B5;
}

.footer-section p {
    line-height: 1.6;
    color: #D2B48C;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #5D4037;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 10px 0;
    color: #D2B48C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .hero h2 {
        font-size: 2.2em;
    }
    
    .hero-text {
        font-size: 1.1em;
    }
    
    .services h2,
    .reviews h2 {
        font-size: 2em;
    }
    
    .contact h2 {
        font-size: 1.8em;
    }
    
    #contactForm {
        padding: 20px;
    }
}