/* Homepage Complete Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(27, 38, 59, 0.3) 100%), url('../images/hompage_photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0e1dd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #e0e1dd;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0d1b2a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(13, 27, 42, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 27, 42, 0.3);
    border-color: rgba(13, 27, 42, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(13, 27, 42, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.service-card p {
    color: #1b263b;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: #ffffff;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0d1b2a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(13, 27, 42, 0.3);
    border-color: rgba(13, 27, 42, 0.3);
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #1b263b;
    font-style: italic;
}

.review-author {
    border-top: 1px solid rgba(13, 27, 42, 0.2);
    padding-top: 1rem;
}

.review-author strong {
    display: block;
    color: #0d1b2a;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.review-author span {
    color: #1b263b;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #ffffff;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0d1b2a;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #1b263b;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.stat h3 {
    font-size: 2.5rem;
    color: #0d1b2a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #1b263b;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #e0e1dd;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #1b263b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 12px;
    border: 2px solid rgba(13, 27, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.contact-item p {
    color: #1b263b;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
        background-size: cover;
        background-position: center;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services h2,
    .reviews h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .reviews-grid,
    .stats,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 2rem;
        min-height: 40vh;
        background-size: cover;
        background-position: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 32px;
        height: 32px;
    }
}
