* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #391b1c;
    --primary-dark: #2a1415;
    --secondary-color: #1e293b;
    --text-color: #d4c4c5;
    --light-bg: #4a2d2e;
    --white: #ffffff;
    --border-color: #5a3d3e;
}

body {
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--primary-color);
}

p {
    font-size: 1.1rem;
    line-height: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
    border-radius: 2px;
}


/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--text-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Image Section */
.hero-image {
    padding: 0;
    background-color: var(--primary-color);
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: block;
    object-fit: cover;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    padding-bottom: 2rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}

.about-content-with-image:last-child {
    margin-bottom: 0;
}

.about-row-reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 0 0 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-text {
    flex: 0 0 600px;
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-content p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.home-branch {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0.7;
}

.home-branch svg {
    color: var(--text-color);
}

@media screen and (max-width: 1200px) {
    .about-content-with-image {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: calc(100% + 40px);
        max-width: calc(500px + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .about-image img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
    
    .about-text {
        flex: 0 0 auto;
        text-align: center;
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text p {
        margin-bottom: 0.5rem;
    }
}

/* FAQs Section */
.faqs {
    padding: 4rem 0;
}

.faqs-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
}

/* Waiver Section */
.waiver {
    padding: 3rem 0;
    background-color: var(--primary-color);
}

.waiver-content {
    max-width: 800px;
    margin: 0 auto;
}

.waiver-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    text-align: left;
}

.jotform-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.jotform-wrapper iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: var(--light-bg);
}

.copy-link-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #653032;
    color: var(--white);
    border: 1px solid #653032;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.copy-link-button:hover {
    background-color: #7a3a3c;
    border-color: #7a3a3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copy-link-button:active {
    transform: translateY(0);
}

.copy-link-button svg {
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .jotform-wrapper {
        padding: 0;
    }
    
    .jotform-wrapper iframe {
        min-height: 600px;
    }
    
    .copy-link-button {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }
    
    .waiver-content h1 {
        font-size: 2rem;
    }
}

/* Photo Slider Section */
.photo-slider {
    padding: 0;
    background-color: var(--primary-color);
}

.slider-heading {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 auto;
    max-width: 300px;
    width: 300px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.5);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

@media screen and (max-width: 768px) {
    .slide {
        max-width: 300px;
        width: min(300px, calc(100vw - 20px));
    }
    
    .photo-slider {
        padding: 0;
    }
    
    .slider-container {
        padding: 0;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .slider-arrow-left {
        left: 5px;
    }
    
    .slider-arrow-right {
        right: 5px;
    }
}

/* Gallery Section */
.gallery {
    padding: 0;
    background-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin: 0;
    width: 100%;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Booking Form */
.booking {
    padding: 4rem 0;
}

.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--primary-color);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--border-color);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-color);
}

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Set top margin to match image gap on gallery page */
body:has(.gallery) footer {
    margin-top: 1rem;
}

/* Remove top margin from footer on booking page */
body:has(.page-header) footer {
    margin-top: 0;
}

/* Remove top margin from footer when it follows photo slider */
body:has(.photo-slider) footer {
    margin-top: 0;
}

.footer-branch {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    opacity: 0.7;
}

.footer-branch svg {
    color: var(--text-color);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-block;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--white);
    transform: scale(1.1);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-nav a {
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Hide YouCanBookMe text */
#brandBanner {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-header .container {
        padding-left: 0;
        padding-right: 0;
    }

    .features h2,
    .about-content h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .booking-form-container {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

