/* General 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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    background-color: #7f5539;
    padding: 1rem 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;
    position: relative;
}

.nav-logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
    color: #ecf0f1;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1423;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 150px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #9c6644;
    color: white;
}

.btn-primary:hover {
    background-color: #7f5539;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-light {
    background-color: white;
    color: #2c3e50;
}

.btn-light:hover {
    background-color: #ecf0f1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services h2,
.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #b08968;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, #9c6644 0%, #7e5338 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background:  #b08968;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #b08968;
    padding-bottom: 10px;
}

.about-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    font-size: 1.1rem;
}

.features-list li {
    padding: 10px 0;
    color: #555;
}

/* Gallery */
.gallery-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item-link:hover {
    opacity: 0.9;
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.gallery-info p {
    color: #999;
    font-size: 0.95rem;
}

/* Detailed Gallery Pages */
.detailed-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Image Overlay Carousel */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.overlay-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-overlay {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.overlay-controls {
    margin-top: 20px;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.image-counter {
    color: white;
    font-size: 18px;
    margin-top: 10px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #b08968;
    padding-bottom: 10px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: #b08968;
    margin-bottom: 10px;
}

.info-item p {
    color: #555;
    line-height: 1.8;
}

.info-item a {
    color: #3498db;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #2980b9;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

#formMessage {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

#formMessage.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#formMessage.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background-color: #7f5539;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        width: 100%;
        background-color: #7f5539;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 2rem;
        z-index: 1000;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        visibility: visible;
        opacity: 1;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-logo a {
        font-size: 1.3rem;
    }

    .nav-logo-img {
        height: 30px;
    }

    .nav-logo-text {
        font-size: 1.3rem;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .services h2,
    .page-header h1 {
        font-size: 1.5rem;
    }
}
