/* =========================================
   BK EVENTS - GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f7f4;
    color: #222;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: 0.3s ease;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================
   HEADINGS AND TEXT
========================================= */

h1 {
    color: #8b6508;
    text-align: center;
    margin-top: 80px;
}

h2 {
    text-align: center;
    margin-top: 25px;
}

p {
    text-align: center;
    margin-top: 15px;
}

/* =========================================
   GENERAL BUTTON
========================================= */

button {
    display: block;
    margin: 25px auto;
    padding: 12px 25px;
    background-color: #8b6508;
    color: white;
    border: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

button:hover:not(:disabled) {
    background-color: #6f5107;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #8b6508;
    outline-offset: 3px;
}

/* =========================================
   NAVIGATION BAR
========================================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 7%;
    background-color: white;
}

.logo {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #8b6508;
    white-space: nowrap;
}

.logo span {
    font-size: 25px;
    letter-spacing: 8px;
    margin-left: 8px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-size: 15px;
}

.nav-links a:hover {
    color: #8b6508;
}

.book-btn,
.explore-btn {
    display: inline-block;
    background-color: #8b6508;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 5px;
}

.book-btn:hover,
.explore-btn:hover {
    background-color: #6f5107;
    color: white;
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services {
    padding: 70px 7%;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    color: #8b6508;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.6;
}

.service-card a {
    display: inline-block;
    margin-top: 20px;
    background: #8b6508;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.service-card a:hover {
    background: #6f5107;
}

/* =========================================
   PACKAGES SECTION
========================================= */

.packages {
    padding: 80px 7%;
    text-align: center;
    background: #f1eee6;
}

.packages > h2 {
    font-size: 32px;
    color: #8b6508;
}

.package-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.package-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.package-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.package-card h2 {
    color: #8b6508;
    margin-bottom: 25px;
}

.package-card ul {
    list-style: none;
    line-height: 2.5;
}

.package-card a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: #8b6508;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.package-card a:hover {
    background: #6f5107;
}

.featured {
    border: 2px solid #8b6508;
    transform: translateY(-10px);
}

/* =========================================
   BOOKING AND LOGIN SECTION
========================================= */

.booking-section {
    padding: 80px 7%;
    min-height: 500px;
    background: #f8f7f4;
}

.login-box {
    width: 100%;
    max-width: 450px;
    margin: auto;
    padding: 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.login-box h2,
.booking-dashboard > h2 {
    text-align: center;
    color: #8b6508;
}

.login-box p,
.booking-dashboard > p {
    text-align: center;
    margin: 15px 0 25px;
}

.login-box label,
.custom-requirements label {
    display: block;
    margin: 18px 0 8px;
    font-weight: bold;
}

.login-box input,
.custom-requirements textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

.login-box input:focus,
.custom-requirements textarea:focus {
    outline: 2px solid #8b6508;
    border-color: #8b6508;
}

.login-box button,
.custom-requirements button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: #8b6508;
    color: white;
    border: none;
    border-radius: 5px;
}

.login-box button:hover,
.custom-requirements button:hover {
    background: #6f5107;
}

/* =========================================
   EVENT CARDS
========================================= */

.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.event-card {
    padding: 0;
    overflow: hidden;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.event-card span {
    display: block;
    padding: 18px 8px;
    font-size: 17px;
    font-weight: bold;
}

/* =========================================
   SERVICE CARDS
========================================= */

#serviceArea {
    margin-top: 50px;
}

#selectedEventTitle {
    color: #8b6508;
    margin-bottom: 25px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.service-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.service-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-weight: bold;
}

.service-item input {
    width: 18px;
    height: 18px;
}

.custom-requirements {
    max-width: 700px;
    margin: 40px auto;
}

.custom-requirements textarea {
    min-height: 120px;
    resize: vertical;
}

#bookingMessage {
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    background: white;
    border-radius: 10px;
}

/* =========================================
   MESSAGE STYLES
========================================= */

.info-message,
.success-message,
.error-message {
    padding: 14px 18px;
    margin: 18px 0;
    border-radius: 7px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.info-message {
    background: #fff5d9;
    color: #795500;
    border: 1px solid #ead59a;
}

.success-message {
    background: #e4f7eb;
    color: #145c32;
    border: 1px solid #a9d9b8;
}

.error-message {
    background: #ffe5e5;
    color: #8b2020;
    border: 1px solid #e8b4b4;
}

/* =========================================
   CALL SECTION
========================================= */

.call-section {
    width: 100%;
    text-align: center;
    padding: 55px 20px;
    margin: 40px 0;
    background: #f5f0ff;
    border-radius: 15px;
}

.call-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.call-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.call-button {
    display: inline-block;
    padding: 15px 30px;
    background: #6c3bd1;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
}

.call-button:hover {
    background: #4d269e;
}

/* =========================================
   RESPONSIVE DESIGN - TABLETS
========================================= */

@media (max-width: 900px) {

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-container {
        grid-template-columns: 1fr;
    }

    .featured {
        transform: none;
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        justify-content: center;
    }

}

/* =========================================
   RESPONSIVE DESIGN - MOBILE
========================================= */

@media (max-width: 550px) {

    .service-container,
    .event-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .login-box {
        padding: 20px;
    }

    .navbar {
        flex-direction: column;
        padding: 18px 5%;
    }

    .nav-links {
        justify-content: center;
        gap: 15px;
    }

    .logo {
        font-size: 30px;
    }

    .logo span {
        font-size: 20px;
    }

    .hero {
        padding: 75px 18px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services,
    .packages,
    .booking-section {
        padding: 50px 5%;
    }

    .call-section {
        padding: 35px 15px;
    }

    .call-section h2 {
        font-size: 25px;
    }

    .call-section p {
        font-size: 16px;
    }

    .login-box input {
        font-size: 16px;
    }

}