/* ============================================================
   LUNELLE CANDLE CO. — Brand Stylesheet
   Palette: Deep Royal Purple (#2D064A) + Rich Violet (#6A1B9A)
   ============================================================ */

/* --- CSS Variables (Brand Colors) --- */
:root {
    --primary-bg:    #FBF7FB;
    --secondary-bg:  #F2EAF6;
    --dark-brown:    #2D064A;
    --accent-brown:  #6A1B9A;
    --accent-hover:  #4A1070;
    --accent-gold:   #C9A227;
    --text-light:    #FBF7FB;
    --muted-text:    #5A4A66;
    --border-subtle: rgba(45, 6, 74, 0.12);
    --font-heading: 'Playfair Display', serif;
    --font-body:    'Lato', sans-serif;
}

/* --- General Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-brown);
    background-color: var(--primary-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-brown), var(--accent-gold));
    margin: 15px auto 0;
}

.section-padding {
    padding: 100px 0;
}

.bg-secondary {
    background-color: var(--secondary-bg);
}

/* --- SECTION SPACING (applies to your actual section classes) --- */
.philosophy,
.portfolio,
.about-section,
.testimonials,
.contact-section,
.craft,
.faq-section {
    padding: 100px 0;
}

/* Optional hairline divider between stacked light sections */
.philosophy,
.about-section,
.contact-section {
    border-top: 1px solid var(--border-subtle);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #6A1B9A 0%, #4A1070 100%);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(106, 27, 154, 0.25);
}

.btn:hover {
    background: linear-gradient(135deg, #7B2BAA 0%, #5A1580 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(106, 27, 154, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--dark-brown);
    color: var(--dark-brown);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--accent-brown);
    color: var(--text-light);
    border-color: var(--accent-brown);
    box-shadow: 0 4px 14px rgba(106, 27, 154, 0.25);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--primary-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-brown);
    filter: drop-shadow(0 0 6px rgba(106, 27, 154, 0.45));
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-brown);
}

/* --- Hero Sections --- */
.hero {
    position: relative;
    height: 85vh;
    background: linear-gradient(to right,
                    rgba(45, 6, 74, 0.78) 0%,
                    rgba(45, 6, 74, 0.15) 100%),
                url('https://images.unsplash.com/photo-1603006905003-be475563bc59?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.page-hero {
    height: 55vh;
    background: linear-gradient(rgba(45, 6, 74, 0.6), rgba(106, 27, 154, 0.45)),
                url('https://images.unsplash.com/photo-1602874801006-e26e9c8d1b48?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.page-hero h1 {
    font-size: 3.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 10px;
}

.hero-content {
    max-width: 600px;
    margin-left: 5%;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Philosophy --- */
.philosophy {
    text-align: center;
    background-color: var(--secondary-bg);
}

.philosophy > .container > p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--muted-text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    padding: 30px;
    background-color: var(--primary-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(45, 6, 74, 0.06);
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-brown);
    margin-bottom: 15px;
}

.value-item h3 {
    margin-bottom: 10px;
}

/* --- Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(45, 6, 74, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 6, 74, 0.9), rgba(45, 6, 74, 0) 70%);
    padding: 30px 20px 20px;
    color: white;
}

.portfolio-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    font-style: italic;
    color: #E6D9EF;
}

/* --- About Section --- */
.about-section {
    background-color: var(--secondary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    height: 550px;
    width: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

/* --- Craft --- */
.craft-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted-text);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.craft-step {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background-color: var(--primary-bg);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.craft-step:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-bg);
}

.craft-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--accent-brown);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.craft-step h3 {
    margin-bottom: 10px;
}

.craft-step p {
    font-size: 0.95rem;
    color: var(--muted-text);
}

/* --- Testimonials --- */
.testimonials {
    background-color: var(--secondary-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(45, 6, 74, 0.06);
    text-align: center;
}

.testimonial-card .stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--muted-text);
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: var(--accent-brown);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-intro {
    margin-bottom: 20px;
    color: var(--muted-text);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #D9CCE3;
    border-radius: 5px;
    font-family: var(--font-body);
    background-color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-brown);
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.12);
}

.contact-info {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info i {
    color: var(--accent-brown);
    width: 20px;
    margin-top: 5px;
}

.social-heading {
    margin-top: 40px;
}

.social-links {
    font-size: 1.5rem;
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(45, 6, 74, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-bg);
}

.faq-question i {
    color: var(--accent-brown);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: var(--muted-text);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-brown);
    color: var(--text-light);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 20px;
    display: flex;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    gap: 10px;
}

.footer-logo i {
    color: var(--accent-brown);
    filter: drop-shadow(0 0 6px rgba(106, 27, 154, 0.6));
}

footer p {
    color: #C9B8D6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 247, 252, 0.12);
    font-size: 0.8rem;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-image img {
        height: 400px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        height: 70vh;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Tighter section spacing on mobile */
    .philosophy,
    .portfolio,
    .about-section,
    .testimonials,
    .contact-section,
    .craft,
    .faq-section {
        padding: 70px 0;
    }
}




/* --- Contact Page Enhancements --- */

/* Two-column row for Name + Email */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Field wrapper for label + input */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
}

/* Select dropdown to match input styling */
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #D9CCE3;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fff;
    color: var(--dark-brown);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236A1B9A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--accent-brown);
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.12);
}

/* Form status message */
.form-status {
    margin-top: 12px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2em;
    color: var(--accent-brown);
    font-weight: 700;
}

.form-status.error {
    color: #B00020;
}

/* Contact info links */
.contact-info a {
    color: var(--accent-brown);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-gold);
}

/* Stack form row on mobile */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}




/* --- Gallery Page --- */

/* Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--dark-brown);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-brown);
    color: var(--accent-brown);
}

.filter-btn.active {
    background: linear-gradient(135deg, #6A1B9A 0%, #4A1070 100%);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(106, 27, 154, 0.25);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(45, 6, 74, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 5;
    background: var(--secondary-bg);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(45, 6, 74, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(to top, rgba(45, 6, 74, 0.9), rgba(45, 6, 74, 0));
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
}

.gallery-item.hidden {
    display: none;
}

/* Upload section */
.upload-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--muted-text);
}

.drop-zone {
    max-width: 720px;
    margin: 0 auto 25px;
    padding: 50px 25px;
    border: 2px dashed var(--accent-brown);
    border-radius: 14px;
    text-align: center;
    background: rgba(106, 27, 154, 0.04);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.drop-zone:hover,
.drop-zone:focus,
.drop-zone.dragover {
    background: rgba(106, 27, 154, 0.1);
    border-color: var(--accent-hover);
    outline: none;
}

.drop-zone.dragover {
    transform: scale(1.01);
}

.drop-zone i {
    font-size: 2.5rem;
    color: var(--accent-brown);
    margin-bottom: 12px;
}

.drop-zone p {
    margin: 0;
    color: var(--dark-brown);
}

.drop-zone .browse-link {
    color: var(--accent-brown);
    font-weight: 700;
    text-decoration: underline;
}

.drop-zone small {
    display: block;
    margin-top: 8px;
    color: var(--muted-text);
    font-size: 0.8rem;
}

.upload-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.upload-controls label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
}

.upload-controls select {
    padding: 10px 16px;
    border: 1px solid #D9CCE3;
    border-radius: 5px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--dark-brown);
    font-size: 0.95rem;
    cursor: pointer;
}

.upload-controls select:focus {
    outline: none;
    border-color: var(--accent-brown);
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.12);
}

.upload-grid {
    margin-top: 20px;
}

.upload-item {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 5px 15px rgba(45, 6, 74, 0.08);
}

.upload-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-item .remove-upload {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(45, 6, 74, 0.85);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.upload-item .remove-upload:hover {
    background: #B00020;
}

.upload-empty {
    text-align: center;
    color: var(--muted-text);
    font-style: italic;
    grid-column: 1 / -1;
    padding: 20px 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 2, 25, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--accent-brown);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
    color: #E6D9EF;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
}


/* --- Section CTA (centered button below a grid) --- */
.section-cta {
    text-align: center;
    margin-top: 50px;
}


/* Centered single-column contact info (when form is removed) */
.contact-grid-single {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}



/* --- Footer contact block --- */


/* ============================================================
   FOOTER (PROFESSIONAL GRID)
   ============================================================ */

footer {
    background-color: var(--dark-brown);
    color: var(--text-light);
    padding: 70px 0 20px;
}

/* Top Section Grid */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr; /* Brand gets more space */
    gap: 40px;
    padding-bottom: 50px;
    text-align: left; /* Overrides the old center alignment */
}

/* Column 1: Brand */
.footer-brand-col .footer-logo {
    justify-content: flex-start; /* Aligns moon and text to left */
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-brand-col .footer-logo i {
    color: var(--accent-brown);
    filter: drop-shadow(0 0 6px rgba(106, 27, 154, 0.6));
}

.footer-tagline {
    color: #C9B8D6;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
}

/* Column Headings */
.footer-contact-col h4,
.footer-social-col h4 {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Column 2: Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #C9B8D6;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list i {
    color: var(--accent-brown);
    width: 16px;
    min-width: 16px;
    text-align: center;
    margin-top: 4px;
}

.footer-contact-list a {
    color: #C9B8D6;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-contact-list a:hover {
    color: var(--accent-gold);
}

/* Column 3: Socials */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle circle background */
    color: var(--text-light);
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-brown);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center; /* Standard to center the copyright */
}

.footer-bottom p {
    color: #8E7A9E; /* Muted lavender */
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE/TABLET)
   ============================================================ */

@media (max-width: 900px) {
    /* Stack columns into 2 rows */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand-col {
        grid-column: 1 / -1; /* Brand spans full width */
        text-align: center;
    }
    .footer-brand-col .footer-logo {
        justify-content: center;
    }
    .footer-tagline {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    /* Stack everything into 1 column */
    footer {
        padding: 50px 0 20px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .footer-brand-col .footer-logo {
        font-size: 1.5rem;
    }
    .footer-contact-list li {
        justify-content: center; /* Center contact items on mobile */
    }
    .footer-social {
        justify-content: center;
    }
}



/* --- Fix for Login Page Inputs --- */

.login-card .form-field {
    margin-bottom: 20px; /* Gives more breathing room between fields */
}

.login-card .form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
}

.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 14px 16px; /* Increased padding for a larger, clickable area */
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark-brown);
    background-color: #fff;
    border: 1px solid #D9CCE3;
    border-radius: 8px; /* Slightly rounder corners */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break the width */
}

/* Add a nice focus ring in your brand purple */
.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-brown);
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.15);
}

.login-card .btn {
    margin-top: 10px; /* Space between last input and the button */
    padding: 14px 28px; /* Make the button slightly taller too */
    font-size: 1rem;
}





/* --- Mobile Navigation --- */

/* Hide the hamburger button on desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-brown);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--accent-brown);
}

@media (max-width: 768px) {
    /* Show hamburger */
    .mobile-menu-btn {
        display: block;
    }

    /* Style the dropdown menu */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(45, 6, 74, 0.08);
        
        /* Hidden by default */
        display: none;
        border-top: 1px solid var(--border-subtle);
    }

    /* Class added by JS to show the menu */
    .nav-links.active {
        display: flex;
    }

    /* Fix hero section text for mobile */
    .hero {
        height: 70vh;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}