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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    border-radius: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c2c2c;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8b7355;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero-banner {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('images/hero_2.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-top: 60px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-left: 2rem;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.hero-banner-bg.fade-in {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    margin-left: 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: white;
    color: #2c2c2c;
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: white;
    margin-top: 1rem;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(20px); }
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background: #faf9f7;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 300;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-content.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.toggle-about {
    display: none;
    background: #8b7355;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

.toggle-about:hover {
    background: #6d5940;
}

/* Services Section */
.services-section {
    padding: 8rem 2rem;
    background: white;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.services-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 300;
}

.services-header p {
    font-size: 1.2rem;
    color: #666;
    letter-spacing: 1px;
}

.services-grid-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* New layout for service items: image + text side-by-side */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.service-image img,
.service-image {
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.service-text {
    padding: 1rem 0;
}

.service-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
}

.service-text p { color: #555; margin-bottom: 1rem; }

.service-button {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: 1px solid #8b7355;
    color: #8b7355;
    text-decoration: none;
    border-radius: 4px;
}

/* Remove old overlay styles if present */
.service-overlay, .service-overlay-content, .service-link, .service-image-wrapper { display: none !important; }

@media (max-width: 980px) {
    .services-grid-main { grid-template-columns: 1fr; }
    .service-image img { height: 360px; }
    .services-grid-main .service-item { direction: ltr; }
}

@media (max-width: 600px) {
    .service-item {
        grid-template-columns: 1fr;
    }
    .service-image img { height: 220px; }
    .service-text h3 { font-size: 1.25rem; }
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 2rem;
    background: #faf9f7;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-container h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 300;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 2px;
    text-align: left;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 1rem;
    color: #8b7355;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-weight: 300;
}

.contact-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #faf9f7;
    border-radius: 2px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #2c2c2c;
}

.contact-item p {
    font-size: 1rem;
    color: #666;
}

.contact-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #8b7355;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #6d5940;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #2c2c2c;
    color: #ccc;
    text-align: center;
    padding: 3rem 2rem;
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-style: italic;
    color: #999;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
}

.carousel-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.facebook-link {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Facebook feed container styles (Services section) */
.fb-feed-container {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    color: #333;
}
.fb-feed-container h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #2c2c2c;
}
.fb-feed-container .fb-page {
    width: 100% !important;
}

@media (max-width: 900px) {
    .fb-feed-container { padding: 1rem; }
    .fb-feed-container h3 { font-size: 1.2rem; }
}

/* Thumbnail gallery styles */
.thumbnail-gallery {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 1rem 1.25rem;
}
.thumbnail-gallery h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #2c2c2c;
}
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.thumbnail-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #eee;
}
.thumbnail-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.thumbnail-item:hover img { transform: scale(1.05); }

@media (max-width: 1000px) {
    .thumbnail-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .thumbnail-grid { grid-template-columns: repeat(2, 1fr); }
    .thumbnail-item img { height: 120px; }
}

/* Ensure close button sits above the carousel overlay (Facebook link) */
.modal-content .close {
    z-index: 10002;
    pointer-events: auto;
}

/* Keep facebook overlay underneath so close stays clickable */
.facebook-link {
    z-index: 10000;
}

.facebook-link img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.facebook-link:hover img {
    transform: scale(1.1);
}

.facebook-link span {
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
}

.fb-logo {
    border-radius: 0;
    transition: border-radius 0.3s ease;
}

.fb-logo:hover {
    border-radius: 20px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border: none;
    background: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid-main {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .toggle-about {
        display: block;
    }

    .about-text h2,
    .services-header h2,
    .testimonials-container h2,
    .contact-content h2 {
        font-size: 2.5rem;
    }

    .contact-details {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .about-content {
        -webkit-line-clamp: unset;
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
        list-style: none;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2rem;
    }
}