/* =================================
   HOME PAGE STYLES
   ================================= */

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: #4A3821;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    color: #6B4423;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

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

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

.service-card {
    background-color: #8B4513;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    color: #FFE5B4;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #F5DEB3;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Photo Gallery Section */
.photo-gallery {
    background-color: #FF8C00;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.photo-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #4A3821;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6B4423;
    margin-bottom: 3rem;
    font-style: italic;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(74, 56, 33, 0.95), transparent);
    color: #FFE5B4;
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(0);
    transition: all 0.3s;
}

/* About Section */
.about-section {
    background-color: #FF8C00;
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A3821;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.founder-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: #FF8C00;
    padding: 2.5rem;
    border-radius: 15px;
}

.founder-image {
    flex: 0 0 300px;
    min-width: 300px;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    object-fit: cover;
    border: 5px solid #8B4513;
}

.founder-text {
    flex: 1;
}

.founder-text h3 {
    font-size: 2rem;
    color: #4A3821;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #8B4513;
    padding-bottom: 0.5rem;
}

.founder-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A3821;
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    background-color: #FF8C00;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #4A3821;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    color: #4A3821;
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-block;
    background-color: #8B4513;
    color: #FFE5B4;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-button:hover {
    background-color: #6B3410;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .founder-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-image {
        flex: 0 0 auto;
        min-width: auto;
        max-width: 300px;
        margin-bottom: 2rem;
    }

    .founder-text {
        text-align: left;
    }

    .founder-text h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .founder-section {
        padding: 1.5rem;
        gap: 2rem;
    }

    .founder-image {
        max-width: 250px;
    }

    .founder-text h3 {
        font-size: 1.6rem;
    }

    .founder-text p {
        font-size: 1rem;
    }
}
