/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #333333;
}

/* NAVIGATION BAR */
.navbar {
    background: #581b1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
}

/* Side menu hidden on desktop */
.menu-overlay,
.side-menu {
    display: none;
}


.logo-container img {
    max-height: 150px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-links a:hover {
    color: #ffcccc;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #581b1a 0%, #7a2524 100%), url('images/hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
    color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #581b1a;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    animation: fadeInUp 0.8s ease 0.7s forwards;
    opacity: 0;
}

.cta-btn:hover {
    background: transparent;
    color: #ffffff;
}

/* ABOUT SECTION */
.about {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #581b1a;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-content {
    display: grid;
    gap: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}

/* SERVICES SECTION */
.services {
    background: #f5f5f5;
    padding: 60px 20px;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 36px;
    color: #581b1a;
    margin-bottom: 50px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #581b1a;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #581b1a;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

/* GALLERY SECTION */
.gallery {
    padding: 60px 20px;
    background: #1a1a1a;
    width: 100%;
    box-sizing: border-box;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 700;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-images {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
}

.gallery-images::-webkit-scrollbar {
    display: none;
}

.gallery-images img {
    min-width: 300px;
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #581b1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(88, 27, 26, 0.3);
}

.gallery-images img:active {
    transform: scale(0.98);
}

/* IMAGE MODAL */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 80%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffcccc;
}

/* MODAL NAVIGATION BUTTONS */
.modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(88, 27, 26, 0.8);
    color: #ffffff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-btn:hover {
    background: #581b1a;
    transform: translateY(-50%) scale(1.1);
}

.modal-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* MODAL COUNTER */
.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 25px;
}

.carousel-btn {
    background: #581b1a;
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #7a2524;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* CTA SECTION */
.cta-section {
    background: #581b1a;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: #581b1a;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
}

.cta-btn-secondary:hover {
    background: transparent;
    color: #ffffff;
}

/* CONTACT SECTION */
.contact {
    padding: 60px 20px;
    background: #f5f5f5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact h2 {
    font-size: 36px;
    color: #581b1a;
    margin-bottom: 30px;
    font-weight: 700;
    grid-column: 1 / -1;
    text-align: center;
}

.contact-info {
    grid-column: 1 / 2;
}

.contact-map {
    grid-column: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.info-block {
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-block h3 {
    color: #581b1a;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.info-block p {
    color: #666666;
    font-size: 15px;
}

.contact a {
    color: #581b1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #7a2524;
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #581b1a;
    color: #ffffff;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffcccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    /* Show hamburger and hide inline nav on phones */
    .hamburger {
        display: block;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 30px;
        cursor: pointer;
        padding: 6px 10px;
    }

    .nav-links {
        display: none;
    }

    /* Show side menu on phones */
    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s;
        z-index: 1999;
    }

    .menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .side-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        max-width: 85%;
        background: #581b1a;
        color: #fff;
        flex-direction: column;
        padding: 18px 16px;
        transform: translateX(110%);
        transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
        z-index: 2000;
    }

    .side-menu.open {
        transform: translateX(0);
    }

    .side-close {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 34px;
        align-self: flex-end;
        cursor: pointer;
    }

    .side-nav {
        margin-top: 18px;
    }

    .side-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .side-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        padding: 10px 6px;
        display: block;
    }

    .side-nav a:hover {
        color: #ffcccc;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .about h2,
    .services h2,
    .gallery h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-images {
        gap: 15px;
    }

    .gallery-images img {
        min-width: 200px;
        width: 200px;
        height: 150px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-map {
        grid-column: 1;
    }

    .contact-info {
        grid-column: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .image-modal img {
        max-width: 90%;
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .logo-container img {
        max-height: 80px;
    }

    .hamburger {
        font-size: 28px;
        padding: 4px 8px;
    }

    .side-menu {
        width: 100%;
        max-width: 100%;
    }

    .side-nav a {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .service-card {
        padding: 20px;
    }

    .about,
    .gallery,
    .contact {
        padding: 40px 15px;
    }

    .cta-btn,
    .cta-btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .modal-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .close-modal {
        font-size: 30px;
        top: 15px;
        right: 15px;
    }

    .image-modal img {
        max-width: 95%;
        max-height: 75vh;
    }

    .modal-counter {
        font-size: 14px;
        padding: 8px 15px;
    }
}


