
/* =====================================================
   SRN LOGISTICS
   CONTACT US PAGE
   Colour palette:
   Charcoal: #202321
   Gold:     #C6A45B
   Ivory:    #F5F1E8
===================================================== */


/* =====================================================
   01. PAGE FOUNDATION
===================================================== */

.contact-page {
    --contact-charcoal: #202321;
    --contact-black: #090b0c;
    --contact-gold: #c6a45b;
    --contact-light-gold: #edcf86;
    --contact-ivory: #f5f1e8;
    --contact-muted: #aaa9a3;

    background: var(--contact-black);
    color: var(--contact-ivory);

    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.contact-page * {
    box-sizing: border-box;
}

.contact-page a {
    text-decoration: none;
}

.contact-container {
    width: min(1280px, 88%);
    margin: 0 auto;
}

.contact-eyebrow {
    color: var(--contact-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    line-height: 1.8;
    text-transform: uppercase;
}


/* =====================================================
   02. HERO SECTION
===================================================== */

.contact-hero {
    position: relative;
    isolation: isolate;

    min-height: 690px;
    height: min(760px, calc(100svh - 90px));

    display: flex;
    align-items: center;

    overflow: hidden;
    background: var(--contact-black);
}

.contact-hero-background {
    position: absolute;
    z-index: -3;
    inset: 0;

    background-image:
        url("assets/images/contact-chennai.webp");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.02);

    animation: contactHeroZoom 22s ease-in-out infinite alternate;
}

.contact-hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 8, 0.95) 0%,
            rgba(5, 7, 8, 0.79) 42%,
            rgba(5, 7, 8, 0.37) 75%,
            rgba(5, 7, 8, 0.2) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 7, 8, 0.62),
            transparent 55%
        );
}

.contact-hero-container {
    position: relative;

    width: min(1280px, 88%);
    height: 100%;
    min-height: inherit;

    display: flex;
    align-items: center;

    margin: 0 auto;
    padding: 90px 0 105px;
}

.contact-hero-content {
    max-width: 900px;
}

.contact-hero-content .contact-eyebrow {
    margin-bottom: 26px;
}

.contact-hero-content h1 {
    max-width: 900px;

    color: var(--contact-ivory);
    font-family: "Playfair Display", serif;

    font-size: clamp(49px, 6vw, 82px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.contact-hero-content h1 span {
    display: block;
    color: var(--contact-light-gold);
}

.contact-hero-description {
    max-width: 600px;
    margin-top: 27px;

    color: #d0d0ce;
    font-size: 14px;
    line-height: 2;
}

.contact-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    min-height: 58px;
    margin-top: 34px;
    padding: 0 25px;

    border: 1px solid var(--contact-gold);
    background: var(--contact-gold);
    color: #101211;

    font-size: 11px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.contact-primary-button span {
    font-size: 20px;
}

.contact-primary-button:hover {
    background: var(--contact-light-gold);
    border-color: var(--contact-light-gold);
    transform: translateY(-3px);
}

.contact-hero-index {
    position: absolute;
    right: 0;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 13px;

    color: #d4d2cb;
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-hero-index span:first-child {
    color: var(--contact-light-gold);
    font-size: 16px;
}

.contact-index-line {
    width: 45px;
    height: 1px;
    background: var(--contact-gold);
}

@keyframes contactHeroZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.07);
    }
}


/* =====================================================
   03. INTRODUCTION
===================================================== */

.contact-intro {
    padding: 105px 0 110px;

    background: var(--contact-ivory);
    color: var(--contact-charcoal);
}

.contact-intro .contact-container {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 100px;
}

.contact-intro-heading .contact-eyebrow {
    margin-bottom: 20px;
}

.contact-intro-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-intro-heading h2 span {
    display: block;
    color: #a98943;
}

.contact-intro-text {
    padding-left: 35px;
    border-left: 1px solid rgba(169, 137, 67, 0.55);
}

.contact-intro-text p {
    color: #555650;
    font-size: 13px;
    line-height: 2;
}

.contact-intro-text p + p {
    margin-top: 18px;
}


/* =====================================================
   04. MAIN CONTACT SECTION
===================================================== */

.contact-main {
    padding: 120px 0 130px;
    background: #0d1010;
}

.contact-split-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
    gap: 95px;
}


/* LEFT CONTACT DETAILS */

.contact-details {
    padding-top: 10px;
}

.contact-details > .contact-eyebrow {
    margin-bottom: 23px;
}

.contact-details h2 {
    max-width: 480px;

    color: var(--contact-ivory);
    font-family: "Playfair Display", serif;
    font-size: clamp(39px, 4vw, 53px);
    font-weight: 400;
    line-height: 1.23;
}

.contact-details h2 span {
    display: block;
    color: var(--contact-light-gold);
}

.contact-details-description {
    max-width: 440px;
    margin-top: 22px;

    color: #aaa;
    font-size: 13px;
    line-height: 1.95;
}


/* CONTACT DETAIL ITEMS */

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding: 27px 0;

    border-bottom: 1px solid rgba(198, 164, 91, 0.2);
}
.contact-detail-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--contact-light-gold);
}
.contact-detail-item:first-of-type {
    margin-top: 35px;
    border-top: 1px solid rgba(198, 164, 91, 0.2);
}

.contact-detail-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border: 1px solid rgba(198, 164, 91, 0.6);

    color: var(--contact-light-gold);
    font-family: "Playfair Display", serif;
    font-size: 13px;
}

.contact-detail-label {
    margin-bottom: 8px;

    color: var(--contact-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-detail-item h3 {
    color: var(--contact-ivory);
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 400;
}

.contact-detail-item div:last-child > p:last-child {
    margin-top: 7px;

    color: #999;
    font-size: 13px;
    line-height: 1.7;
}

.contact-details-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 35px;
}

.contact-note-line {
    flex-shrink: 0;
    width: 30px;
    height: 1px;
    margin-top: 9px;
    background: var(--contact-gold);
}

.contact-details-note p {
    color: #c6b995;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.8;
}


/* =====================================================
   05. ENQUIRY FORM
===================================================== */

.contact-form-wrapper {
    padding: 45px 43px;

    border: 1px solid rgba(198, 164, 91, 0.3);
    background: #151918;

    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.18);
}

.contact-form-heading {
    margin-bottom: 35px;
}

.contact-form-heading .contact-eyebrow {
    margin-bottom: 15px;
}

.contact-form-heading h2 {
    color: var(--contact-ivory);
    font-family: "Playfair Display", serif;
    font-size: clamp(31px, 3.5vw, 43px);
    font-weight: 400;
    line-height: 1.25;
}

.contact-form-heading h2 span {
    display: block;
    color: var(--contact-light-gold);
}

.contact-form-heading > p:last-child {
    margin-top: 13px;

    color: #aaa;
    font-size: 12px;
    line-height: 1.8;
}


/* FORM ROWS */

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 23px;
}

.form-group label {
    color: #e4e0d5;
    font-size: 11px;
    font-weight: 600;
}

.form-group label span {
    color: var(--contact-light-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 51px;

    padding: 14px 15px;

    border: 1px solid rgba(198, 164, 91, 0.25);
    border-radius: 0;
    outline: none;

    background: #101312;
    color: var(--contact-ivory);

    font-family: "DM Sans", sans-serif;
    font-size: 12px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #777973;
}

.form-group select {
    color: #bdbbb4;
    cursor: pointer;
}

.form-group select option {
    background: #151918;
    color: var(--contact-ivory);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--contact-gold);
    background: #131715;
}


/* FORM BOTTOM */

.contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 7px;
}

.contact-form-bottom > p {
    max-width: 210px;

    color: #888982;
    font-size: 10px;
    line-height: 1.7;
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    min-height: 54px;
    padding: 0 23px;

    border: 1px solid var(--contact-gold);
    background: var(--contact-gold);
    color: #111411;

    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-button span {
    font-size: 19px;
}

.contact-submit-button:hover {
    background: var(--contact-light-gold);
    border-color: var(--contact-light-gold);
    transform: translateY(-2px);
}


/* =====================================================
   06. LOCATION / GOOGLE MAP
===================================================== */

.contact-location {
    padding: 110px 0 120px;
    background: #f1eee7;
    color: #202321;
}

.contact-location-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;

    margin-bottom: 42px;
}

.contact-location-heading .contact-eyebrow {
    margin-bottom: 17px;
}

.contact-location-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 4.5vw, 57px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-location-heading h2 span {
    display: block;
    color: #a98943;
}

.contact-location-heading > p {
    max-width: 360px;
    padding-bottom: 5px;

    color: #6b6a64;
    font-size: 12px;
    line-height: 1.9;
}


/* MAP CONTAINER */

.contact-map-wrapper {
    position: relative;
    width: 100%;
    height: 480px;

    overflow: hidden;
    border: 1px solid rgba(169, 137, 67, 0.5);

    background: #202321;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;

    border: 0;

    filter:
        grayscale(0.85)
        sepia(0.22)
        saturate(0.75)
        contrast(1.04);
}

.contact-map-label {
    position: absolute;
    left: 25px;
    bottom: 25px;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px 19px;

    border: 1px solid rgba(198, 164, 91, 0.6);
    background: rgba(12, 15, 14, 0.94);
    color: var(--contact-ivory);
    pointer-events: none;
}

.map-label-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;

    background: var(--contact-light-gold);
    box-shadow: 0 0 12px rgba(237, 207, 134, 0.7);
}

.contact-map-label p {
    color: var(--contact-light-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-map-label span:last-child {
    display: block;
    margin-top: 5px;

    color: #aaa;
    font-size: 8px;
    letter-spacing: 1.5px;
}


/* =====================================================
   07. FINAL CTA
===================================================== */

.contact-final-cta {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 510px;
    padding: 90px 6%;

    overflow: hidden;

    background-image:
        url("assets/images/contact-chennai.webp");

    background-position: center;
    background-size: cover;

    text-align: center;
}

.contact-final-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 8, 0.94),
            rgba(5, 7, 8, 0.76),
            rgba(5, 7, 8, 0.94)
        );
}

.contact-final-content {
    max-width: 800px;
}

.contact-final-content .contact-eyebrow {
    margin-bottom: 21px;
}

.contact-final-content h2 {
    color: var(--contact-ivory);
    font-family: "Playfair Display", serif;
    font-size: clamp(43px, 5vw, 67px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-final-content h2 span {
    display: block;
    color: var(--contact-light-gold);
}

.contact-final-content > p:not(.contact-eyebrow) {
    max-width: 600px;
    margin: 22px auto 0;

    color: #c7c7c2;
    font-size: 13px;
    line-height: 1.9;
}


/* =====================================================
   08. FOOTER — CONTACT PAGE
===================================================== */

.contact-page .site-footer {
    width: 100%;
    padding: 75px 0 0;
    background: #080a0b;
    color: var(--contact-ivory);
    overflow: hidden;
}

.contact-page .footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 55px;

    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 55px;
}

.contact-page .footer-brand,
.contact-page .footer-links,
.contact-page .footer-contact {
    min-width: 0;
}

.contact-page .footer-brand .brand {
    display: inline-flex;
    max-width: 100%;
}

.contact-page .footer-brand > p {
    max-width: 260px;
    margin-top: 22px;
    color: #999;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.8;
}

.contact-page .footer-links,
.contact-page .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.contact-page .footer-links h3,
.contact-page .footer-contact h3 {
    margin: 0 0 8px;
    color: var(--contact-gold);
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-page .footer-links a,
.contact-page .footer-contact p {
    max-width: 100%;
    color: #aaa;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

.contact-page .footer-links a:hover {
    color: var(--contact-light-gold);
}

.contact-page .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px 25px;

    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 0;

    border-top: 1px solid rgba(198, 164, 91, 0.22);
}

.contact-page .footer-bottom p {
    max-width: 100%;
    color: #858680;
    font-size: 10px;
    letter-spacing: 0.3px;
    line-height: 1.7;
}


/* TABLET */

@media (max-width: 768px) {
    .contact-page .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
    }

    .contact-page .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-page .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* MOBILE */

@media (max-width: 480px) {
    .contact-page .footer-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .contact-page .footer-brand {
        grid-column: auto;
    }

    .contact-page .footer-bottom {
        width: 90%;
    }
}



/* =====================================================
   09. TABLET RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

    .contact-intro .contact-container {
        gap: 55px;
    }

    .contact-split-layout {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 45px;
    }

    .contact-form-wrapper {
        padding: 35px 27px;
    }

    .contact-page .footer-container {
        gap: 35px;
    }

}


/* =====================================================
   10. MOBILE RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .contact-container,
    .contact-hero-container {
        width: 90%;
    }


    /* HERO */

    .contact-hero {
        height: auto;
        min-height: 650px;
    }

    .contact-hero-container {
        min-height: 650px;
        padding: 85px 0 105px;
    }

    .contact-hero-content h1 {
        font-size: clamp(43px, 9vw, 60px);
    }

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

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 7, 8, 0.94),
                rgba(5, 7, 8, 0.65)
            ),
            linear-gradient(
                0deg,
                rgba(5, 7, 8, 0.6),
                transparent
            );
    }


    /* INTRO */

    .contact-intro {
        padding: 80px 0;
    }

    .contact-intro .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-intro-heading h2 {
        font-size: 45px;
    }

    .contact-intro-text {
        padding-left: 20px;
    }


    /* MAIN CONTACT */

    .contact-main {
        padding: 85px 0;
    }

    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-details h2 {
        font-size: 43px;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }


    /* LOCATION */

    .contact-location {
        padding: 80px 0;
    }

    .contact-location-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .contact-location-heading h2 {
        font-size: 43px;
    }

    .contact-map-wrapper {
        height: 400px;
    }


    /* FINAL CTA */

    .contact-final-cta {
        min-height: 440px;
    }

    .contact-final-content h2 {
        font-size: 45px;
    }


    /* FOOTER */

    .contact-page .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .contact-page .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-page .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}


/* =====================================================
   11. SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .contact-hero {
        min-height: 610px;
    }

    .contact-hero-container {
        min-height: 610px;
    }

    .contact-hero-content h1 {
        font-size: 42px;
    }

    .contact-hero-content .contact-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .contact-primary-button {
        width: 100%;
        justify-content: space-between;
        padding: 0 18px;
    }


    /* INTRO */

    .contact-intro-heading h2 {
        font-size: 39px;
    }


    /* FORM */

    .contact-form-wrapper {
        padding: 30px 18px;
    }

    .contact-form-heading h2 {
        font-size: 34px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 17px;
    }

    .contact-form-bottom > p {
        max-width: 100%;
    }

    .contact-submit-button {
        width: 100%;
        justify-content: space-between;
    }


    /* MAP */

    .contact-map-wrapper {
        height: 350px;
    }

    .contact-map-label {
        left: 12px;
        bottom: 12px;
        padding: 11px 13px;
    }


    /* FINAL CTA */

    .contact-final-content h2 {
        font-size: 39px;
    }

    .contact-final-content > p:not(.contact-eyebrow) {
        font-size: 12px;
    }


    /* FOOTER */

    .contact-page .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-page .footer-brand {
        grid-column: auto;
    }

}


/* =====================================================
   12. ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-hero-background {
        animation: none;
        transform: none;
    }

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}
