/* =================================
   RESET & GLOBAL STYLES
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans Caption', sans-serif;
    background-color: #fff;
    color: #000;
    font-size: 16px;
}

p {
    margin-top: 1em;
    margin-bottom: 1em;
}

a {
    color: #000;
    text-decoration: underline;
}

/* =================================
   LAYOUT & SECTIONS
   ================================= */
section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.about {
    text-align: justify;
}

/* =================================
   NAVIGATION
   ================================= */
header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =================================
   FLICKITY CAROUSEL (Home Page)
   ================================= */
.main-carousel {
    max-width: 900px;
    margin: 2rem auto;
}

.carousel-cell {
    width: 100%;
    height: 60vh;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Flickity Arrow Styling */
.flickity-button {
    position: absolute;
    background: transparent !important;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
    opacity: 0.5;
}

.flickity-button:hover {
    background: transparent !important;
    opacity: 0.8;
}

.flickity-button:disabled {
    opacity: 0.3;
    cursor: auto;
    pointer-events: none;
}

.flickity-button-icon {
    fill: #fff;
    width: 30px;
    height: 30px;
}

.flickity-prev-next-button.previous {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.flickity-prev-next-button.next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* =================================
   CONTACT FORM
   ================================= */
.contact-form {
    /* max-width: 500px; */
    margin: 1em 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: bold;
}

.contact-form button {
    padding: 0.7em 1.5em;
    cursor: pointer;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #333333;
}

/* =================================
   SOCIAL MEDIA ICONS
   ================================= */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.social-icons a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #000;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 32px;
    height: 32px;
}

/* =================================
   reCAPTCHA
   ================================= */
.g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 768px) {

    /* Mobile Navigation */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        border-bottom: 1px solid #ccc;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        visibility: hidden;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: left;
        padding-left: 1rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .menu-icon {
        display: block;
    }

    .nav-links.show {
        max-height: 500px;
        visibility: visible;
    }

    /* Mobile Carousel */
    .carousel-cell {
        height: 70vh;
    }

    .carousel-cell.lean-left {
        background-position: 41% center;
    }

    .carousel-cell.lean-slight-right {
        background-position: 58% center;
    }

    .carousel-cell.lean-right {
        background-position: 77% center;
    }

    .carousel-cell.lean-right-more {
        background-position: 94% center;
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.65);
    }
}