/* Base & Reset */
:root {
    --primary: #b76e79;
    --primary-dark: #a55c67;
    --secondary: #333;
    --light: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: var(--white);
}

/* Header */
.site-header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 65px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-text h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.brand-text p {
    color: #666;
    font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid var(--primary);
    border-radius: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero - UPDATED BACKGROUND */
.hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
        url('https://images.unsplash.com/photo-1558769132-cb1cb458edcb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') 
        center center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.2s;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* All Services List */
.all-services {
    padding: 2rem 0;
}

.services-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.service-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 3rem 2rem;
    background: var(--light);
    text-align: center;
}

.how-it-works p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.email-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 1rem;
}

.email-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-section,
    .benefits {
        padding: 3rem 1rem;
    }
    
    .brand-text h1 {
        font-size: 1.3rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 5rem 2rem;
    background: var(--light);
    min-height: 60vh;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

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

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-info {
    padding: 1.5rem;
    text-align: center;
}

.gallery-info h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--primary);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.loading-spinner p {
    font-size: 1.1rem;
    color: #666;
}

/* Error Message */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #fff5f5;
    border-radius: var(--radius);
    border-left: 4px solid #e74c3c;
}

.error-message i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Empty State */
.empty-gallery {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px dashed #ddd;
}

.empty-gallery i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-gallery h3 {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-gallery p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Modal for Image View */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-info {
    padding: 1.5rem;
    background: var(--white);
    border-top: 1px solid #eee;
}

.modal-info h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2001;
}

.close-modal:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 3rem 1rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-img {
        height: 180px;
    }
}