/* Palm Meadows Farm Linktree Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "ROND" 0;
    color: #222;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    background-image: url('../img/cover2.jpeg');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.farm-title {
    font-size: 35px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.instagram-link {
    display: inline-block;
    margin-bottom: 40px;
    padding: 10px 10px 8px;
    background-color: #fffc;
    border-radius: 21%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 1);
}

.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.link-btn {
    width: 90vw;
    max-width: 500px;
    padding: 18px 30px;
    background-color: #fffc;
    color: #333;
    text-decoration: none;
    border-radius: 21px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Home Gallery Section */
.home-gallery {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f5efe8 0%, #ffffff 100%);
}

.home-gallery-content {
    max-width: 1100px;
    margin: 0 auto;
}

.home-gallery h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 28px;
    text-align: center;
}

.home-gallery-grid {
    column-count: 3;
    column-gap: 14px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #efefef;
    break-inside: avoid;
}

.gallery-item-wide {
    width: 100%;
}

.gallery-item-tall {
    width: 100%;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: #f9f7f5;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.about ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.about ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

.about ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 1.3rem;
}

.about ul li strong {
    color: #333;
}

/* Contact Form Section */
.contact {
    padding: 60px 20px;
    background-color: #ffffff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-map-wrap {
    max-width: 600px;
    margin: 24px auto 0;
}

.contact-form-panel,
.contact-map-card {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.contact-map-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #333;
}

.contact-map-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.contact-map-embed {
    min-height: 640px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #efefef;
}

.contact-map-embed iframe {
    display: block;
    width: 100%;
    min-height: 640px;
    height: 100%;
    border: 0;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333333b3;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #333333b3;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 15px 40px;
    background-color: #ee3352;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #bb2840;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f7f5;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .home-gallery {
        padding-left: 40px;
        padding-right: 40px;
    }

    .about,
    .contact {
        padding-left: 40px;
        padding-right: 40px;
    }

    .contact {
        max-width: 1000px;
        margin: 0 auto;
    }

    .link-btn {
        width: 50vw;
        max-width: 400px;
    }

    .farm-title {
        font-size: 3rem;
    }

    .about-content {
        max-width: 1000px;
        margin: 0 auto;
    }

    .contact-content {
        max-width: 1000px;
    }

    .contact-map-wrap {
        max-width: 1000px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .home-gallery-grid {
        column-count: 3;
    }

    .about p {
        font-size: 16px;
    }

    .about ul li {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .home-gallery {
        padding: 62px 60px;
    }

    .about {
        padding: 62px 60px;
    }

    .about-content {
        max-width: 1000px;
    }

    .contact {
        max-width: 1000px;
        padding: 62px 60px;
    }

    .farm-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .contact {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .contact-content {
        max-width: 1000px;
    }

    .contact-map-embed,
    .contact-map-embed iframe {
        min-height: 840px;
    }
}

@media (max-width: 767px) {
    .home-gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }

    .gallery-item {
        margin-bottom: 10px;
    }

    .contact-map-wrap {
        width: 100vw;
        max-width: 100vw;
        margin-top: 24px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .contact-form-panel,
    .contact-map-card {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .home-gallery-grid {
        column-count: 1;
    }
}

/* Event & Rental Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-logo-link {
    display: block;
    margin-bottom: 20px;
}

.form-logo {
    max-width: 200px;
    height: auto;
}

.form-header .instagram-link {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 10px 8px;
    background-color: #fffc;
    border-radius: 21%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.form-header .instagram-link:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 1);
}

.form-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.form-header p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.event-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.event-form .form-group {
    margin-bottom: 25px;
}

.event-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.event-form .form-group label.required:after {
    content: "*";
    color: #333;
    margin-left: 4px;
}

.event-form .form-group input[type="text"],
.event-form .form-group input[type="email"],
.event-form .form-group input[type="tel"],
.event-form .form-group input[type="date"],
.event-form .form-group input[type="time"],
.event-form .form-group input[type="number"],
.event-form .form-group textarea,
.event-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    transition: border-color 0.3s;
}

.event-form .form-group input:focus,
.event-form .form-group textarea:focus,
.event-form .form-group select:focus {
    outline: none;
    border-color: #333;
}

.event-form .form-group select option {
    background-color: #fff;
    color: #000;
}

.event-form .form-group input::placeholder,
.event-form .form-group textarea::placeholder,
.event-form .form-group select::placeholder {
    color: #999 !important;
    opacity: 1;
}

.event-form .form-group input::-webkit-input-placeholder,
.event-form .form-group textarea::-webkit-input-placeholder {
    color: #999 !important;
}

.event-form .form-group input::-moz-placeholder,
.event-form .form-group textarea::-moz-placeholder {
    color: #999 !important;
    opacity: 1;
}

.event-form .form-group input:-ms-input-placeholder,
.event-form .form-group textarea:-ms-input-placeholder {
    color: #999 !important;
}

.event-form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.event-form .submit-btn {
    background-color: #333;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.event-form .submit-btn:hover {
    background-color: #5a4431;
}

.event-form .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .event-form {
        padding: 25px;
    }
    
    .form-logo {
        max-width: 150px;
    }
}

