/* Global variables */
:root {
    --primary-color: #F5B642;
    --primary-hover: #e5a92f;
    --dark-bg: #0D0D0D;
    --light-text: #FFFFFF;
    --muted-text: #B3B3B3;
    --card-bg: #111111;
    --border-radius: 10px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    width: 100%;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

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

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav .nav-links a {
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: var(--primary-color);
}

nav .cta {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

nav .cta:hover {
    background-color: var(--primary-hover);
}

nav .menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero .slide.active {
    opacity: 1;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .content {
    position: relative;
    z-index: 2;
    color: var(--light-text);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--muted-text);
}

.hero .btn {
    background-color: var(--primary-color);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: var(--primary-hover);
}

.hero .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
}

.hero .arrow.left {
    left: 20px;
}

.hero .arrow.right {
    right: 20px;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 2rem;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.about-text p {
    color: var(--muted-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Halls section */
.halls-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hall-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.hall-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hall-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hall-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.hall-card p {
    color: var(--muted-text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hall-card .btn {
    margin-top: auto;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    display: inline-block;
}

.hall-card .btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Gallery section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Specifications grid (for wedding-halls page) */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.spec-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.spec-header h3 {
    font-size: 1.2rem;
    color: var(--light-text);
}

.spec-header .tech-label {
    font-size: 0.8rem;
    color: var(--muted-text);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.spec-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Packages & Contact section */
.packages-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.packages h2,
.contact h2 {
    text-align: left;
}

.package-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.package-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.package-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-card ul {
    list-style: none;
    color: var(--muted-text);
    margin-bottom: 1rem;
    padding-left: 0;
}

.package-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.package-card ul li::before {
    content: '\2714'; /* check mark */
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.package-card .btn {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
    font-weight: 600;
}

.package-card .btn:hover {
    background-color: var(--primary-hover);
}

/* Contact form */
.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: none;
    background-color: #222;
    color: var(--light-text);
    font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form button {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    border: none;
}

.contact-form button:hover {
    background-color: var(--primary-hover);
}

/* Visit our venue section */
.visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-info {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--muted-text);
    font-size: 0.95rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #000;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-top: 4rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-nav a {
    color: var(--muted-text);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--muted-text);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Mobile Styles */
@media (max-width: 768px) {
      nav .menu-toggle {
        display: block;
        z-index:2000;
    }
     nav{
    position: relative;
  }
    nav .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #000;
        flex-direction: column;
        align-items: flex-start;
        width: 200px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 1rem;
        gap: 1rem;
    }
    nav .nav-links.show {
        transform: translateX(0);
    }
    nav .menu-toggle {
        display: block;
    }
    nav .cta {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    section {
        padding: 3rem 1rem;
    }
}

/* Authentication pages (login and signup) */
.auth-section {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Contact page form styles */
#contact-form-page input,
#contact-form-page textarea {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #222;
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

#contact-form-page textarea {
    height: 150px;
    resize: vertical;
}

#contact-form-page button.btn {
    width: 100%;
}

/* Welcome message styling */
.welcome {
    color: var(--primary-color);
    margin-right: 1rem;
    font-weight: 500;
}

.auth-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #222;
    color: var(--light-text);
    font-size: 0.95rem;
}

.auth-form input::placeholder {
    color: #666;
}

.auth-form button {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    background-color: var(--primary-hover);
}

.error-message {
    color: #ff4d4d;
    text-align: center;
    margin-bottom: 1rem;
}

.success-message {
    color: #2ecc71;
    text-align: center;
    margin-bottom: 1rem;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: underline;
}
section.hero {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100vw;
}