/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
}

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

/* Navigation icons */
.nav-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Feature icons */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Service icons */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Info icons */
.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Contact method icons */
.contact-method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #8B4513;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #8B4513;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section - Fixed mobile version */
.hero {
    margin-top: 80px;
    position: relative;
}

/* Desktop: Image as background, content overlaid */
.hero-image {
    display: none; /* Hidden on desktop */
}

.hero {
    background: url('hero-image.jpg') center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #8B4513;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.signature {
    font-style: italic;
    margin-top: 2rem;
    color: #8B4513;
}

/* Mobile: Image above content - FIXED VERSION */
@media (max-width: 768px) {
    .hero {
        background: none; /* Remove background image */
        display: block; /* Stack vertically */
        min-height: auto;
        margin-top: 80px; /* Keep the margin */
        padding: 0; /* Remove any padding */
    }
    
    .hero-image {
        display: block; /* Show image container */
        width: 100%;
        height: 100px;  /*Increased height for better aspect ratio */
        background: url('hero-image.jpg') center/cover;
        background-size: cover; /* Ensure full coverage */
        border-radius: 0; /* Remove rounded corners */
        margin: 0; /* Remove any margins */
        position: relative;
    }
    
    .hero-content {
        margin: 2rem 1rem 1rem 1rem; /* Add proper top margin for spacing */
        padding: 2rem 1.5rem;
        background: white; /* Solid white background - no transparency */
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: relative; /* Remove any overlap */
        transform: none; /* Remove the translateY that was causing overlap */
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

.signature {
    font-style: italic;
    margin-top: 2rem;
    color: #8B4513;
}

/* Contact Info */
.contact-info {
    padding: 4rem 0;
    background: white;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #8B4513;
    font-size: 1.5rem;
}

.cta-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #8B4513;
}

.cta-section p {
    margin-bottom: 1rem;
    color: #666;
}

.cta-button {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

/* Features */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f8f8, #fff);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Gallery */
.gallery {
    padding: 4rem 0;
    background: white;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #8B4513;
    font-size: 2.5rem;
}

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

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #f8f8f8;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #8B4513;
    font-size: 2.5rem;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #8B4513;
    opacity: 0.3;
}

.testimonial h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 600;
}

.testimonial p {
    color: #666;
    line-height: 1.6;
}

/* Services */
.services {
    padding: 4rem 0;
    background: white;
}

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

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

.service {
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    background: #8B4513;
    color: white;
}

.service h3 {
    margin-bottom: 1rem;
    color: inherit;
}

/* Info Section */
.info {
    padding: 4rem 0;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
}

.info h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.info-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.info-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.contact h2 {
    margin-bottom: 2rem;
    color: #8B4513;
    font-size: 2.5rem;
}

/* Contact Form */
.contact-form-section {
    max-width: 800px;
    margin: 3rem auto;
    text-align: left;
}

.contact-form-section h3 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.submit-icon {
    font-size: 1.2rem;
}

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

.contact-method {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 15px;
}

.contact-method h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.contact-method a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #8B4513;
}

/* Responsive form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 400px;
    }
    
    .contact-grid,
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature,
.testimonial,
.service {
    animation: fadeInUp 0.6s ease-out;
}

