@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Lato:wght@300;400;700;900&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F5F2EF;
}
main{
    flex: 1;
    padding-top: 55px;
}

/* Luxury headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-heading{
    padding: 40px 6vw 20px;
}

.contact-heading h1{
    font-size: 48px;
    margin-bottom: 16px;
    color: #333333;
    text-align: center;
}

.contact-description{
    font-size: 16px;
    color: #555555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-style: italic;
}

.contact-layout{
    display: flex;
    gap: 30px;
    padding: 40px 6vw 30px;
    align-items: flex-start;
    flex-direction: column;
}

.contact-details{
    flex: 1;
    color: #333333;
}

.contact-details h1{
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-details p{
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-form{
    flex: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-card{
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e8e3d8;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
}

.form-field{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.form-field span{
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.form-field input,
.form-field select,
.form-field textarea{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d1c4;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #333333;
    background-color: #fcfbf8;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color: #4A7C59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.16);
}

.form-field select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #4A7C59 50%), linear-gradient(135deg, #4A7C59 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.form-field textarea{
    resize: vertical;
    min-height: 140px;
}

.hp-field{
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-actions{
    display: flex;
    justify-content: flex-start;
}

.form-actions button{
    background-color: #4A7C59;
    border: none;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.form-actions button:hover{
    background-color: #3a6048;
    transform: translateY(-1px);
}

.form-actions button:disabled{
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-status{
    min-height: 22px;
    font-size: 14px;
    margin: 0;
    color: #555555;
}

.form-status.success{
    color: #2f6b3f;
}

.form-status.pending{
    color: #7a6030;
}

.form-status.error{
    color: #9f2f2f;
}

/* Contact Info Box Styles */
.contact-info-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 6vw;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

a.info-item {
    color: inherit;
    text-decoration: none;
    display: flex;
    pointer-events: auto;
}

a.info-item:hover {
    color: inherit;
}

a.info-item:visited {
    color: inherit;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A7C59 0%, #3a6048 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: none;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #F6E7B3 0%, #E8CD7A 100%);
}

.info-icon i {
    font-size: 26px;
    color: #ffffff;
    pointer-events: none;
}

.info-item:hover .info-icon i {
    color: #8A6A1F;
}

.info-content {
    flex: 1;
    pointer-events: none;
}

.info-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
    pointer-events: none;
}

.info-content p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 4px 0;
    pointer-events: none;
}

header{
    width: 100%;
    max-width: 100vw;
    height: 55px;
    position: fixed;
    background-color: #F5F2EF;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
}

.navbar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #F5F2EF;
}

header.scrolled-nav{
    background-color: #F5F2EF;
}



.navlist .dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: " ▾";
    font-size: 12px;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #F5F2EF;
    padding: 8px 0;
    z-index: 1001;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
}

.dropdown-content li {
    margin-right: 0;
}

.dropdown-content li a {
    display: block;
    padding: 8px 14px;
    font-size: medium;
    white-space: nowrap;
    color: #333333;
}

.dropdown-content li a:hover {
    color: #D4AF37;
}

.dropdown.open .dropdown-content {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.rightnav{
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-right: 20px;
}

.rightnav input{
    width: 140px;
    height: 35px;
    border-radius: 10px;
    border: 3px solid white;
    padding: 0 12px;
}
.rightnav button{
    width: auto;
    min-width: 50px;
    height: 30px;
    margin-left: 0;
    padding: 0 10px;
    border-radius: 10px;
    border: 3px solid white;
    cursor: pointer;
}

footer{
    display: flex;
    flex-direction: column;
    background-color: #e0e0e0;
    min-height: 8vh;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    gap: 8px;
    padding: 15px 20px;
}

footer a {
    color: #4A7C59;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #D4AF37;
}

/* Mobile and Tablet Responsive Styles */
@media (max-width: 1024px) {
    .navlist {
        position: fixed;
        left: 0;
        top: 55px;
        height: calc(100vh - 55px);
        width: 100vw;
        background-color: #ffffff;
        flex-direction: column;
        padding-top: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-x: hidden;
    }

    .navlist.active {
        transform: translateX(0);
    }

    .navlist li {
        margin: 15px 0;
        text-align: center;
    }

    .navlist .dropdown {
        width: 100%;
    }

    .navlist .dropdown-content {
        position: static;
        min-width: 100%;
        padding: 0;
        background-color: transparent;
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        overflow: hidden;
        pointer-events: none;
    }

    .navlist .dropdown.open .dropdown-content {
        max-height: 140px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navlist .dropdown-content li a {
        padding: 6px 14px;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        justify-content: space-between;
        align-items: center;
    }

    .navbar ul li{
        margin-right: 0;
    }

    .rightnav{
        display: none;
    }

    header{
        height: auto;
    }

    main{
        padding-top: 55px;
    }

    main{
        padding-top: 55px;
    }

    .contact-heading{
        padding: 24px 12px;
    }

    .contact-heading h1{
        font-size: 28px;
        text-align: center;
    }

    .contact-description{
        font-size: 14px;
    }

    .contact-layout{
        flex-direction: column;
        padding: 24px 12px 20px;
        gap: 20px;
    }

    .contact-form{
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

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

    .contact-form-card{
        padding: 20px;
        overflow-x: hidden;
    }

    .contact-info-box {
        flex-direction: column;
        padding: 30px 12px;
        gap: 20px;
    }

    .info-item {
        padding: 25px 20px;
        gap: 15px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .info-icon i {
        font-size: 22px;
    }

    .info-content h3 {
        font-size: 18px;
    }

    .info-content p {
        font-size: 14px;
    }

    .contact-details{
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-heading{
        padding: 20px 10px;
    }

    .contact-heading h1{
        font-size: 24px;
        text-align: center;
    }

    .contact-description{
        font-size: 13px;
    }

    .contact-layout{
        flex-direction: column;
        padding: 20px 10px 15px;
        gap: 15px;
    }

    .contact-form-card{
        padding: 16px;
        border-radius: 14px;
        overflow-x: hidden;
    }

    .contact-info-box {
        padding: 25px 10px;
        gap: 15px;
    }

    .info-item {
        padding: 20px 15px;
        gap: 12px;
        border-radius: 16px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .info-icon i {
        font-size: 20px;
    }

    .info-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-content p {
        font-size: 13px;
    }
}
