/* =========================================
   INFIT GARMENT - MAIN STYLESHEET
========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --dark: #20211f;
    --dark-soft: #2e302c;
    --cream: #f7f3eb;
    --beige: #e9dfd0;
    --accent: #b75c35;
    --accent-dark: #914323;
    --white: #ffffff;
    --text: #33342f;
    --light-text: #6e706a;
    --border: #d9d1c5;
    --shadow: 0 15px 40px rgba(32, 33, 31, 0.10);
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

/* =========================================
   HEADER
========================================= */

.header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 20px;
    color: var(--dark);
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* =========================================
   HERO
========================================= */

.hero {
    padding: 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero h1,
.page-banner h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(50px, 7vw, 85px);
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    color: var(--light-text);
    max-width: 550px;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-block;
    padding: 14px 26px;
    font-weight: 700;
    transition: 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

/* =========================================
   HERO DESIGN
========================================= */

.hero-design {
    position: relative;
    min-height: 500px;
    background: var(--dark);
    overflow: hidden;
}

.hero-number {
    position: absolute;
    right: 25px;
    top: 5px;
    font-size: 150px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
}

.fashion-box {
    position: absolute;
}

.box-one {
    width: 240px;
    height: 240px;
    background: var(--accent);
    top: 70px;
    left: 40px;
}

.box-two {
    width: 180px;
    height: 180px;
    background: var(--beige);
    bottom: 50px;
    right: 40px;
}

.style-card {
    position: absolute;
    bottom: 90px;
    left: 80px;
    background: var(--cream);
    padding: 30px;
    z-index: 2;
}

.style-card p {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: bold;
}

.style-card h3 {
    color: var(--dark);
    font-size: 30px;
    line-height: 1.1;
}

/* =========================================
   GENERAL SECTION
========================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.section h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 5vw, 55px);
    line-height: 1.15;
    color: var(--dark);
}

/* =========================================
   ABOUT
========================================= */

.about-section {
    background: var(--beige);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 50px;
}

.section-number span {
    font-size: 110px;
    font-weight: 800;
    color: rgba(32, 33, 31, 0.15);
}

.about-content p:not(.eyebrow) {
    margin-top: 20px;
    max-width: 700px;
    color: var(--light-text);
}

/* =========================================
   COLLECTIONS
========================================= */

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
}

.collection-card {
    background: var(--cream);
    padding: 40px;
    min-height: 250px;
    transition: 0.3s ease;
}

.collection-card:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

.collection-card span {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
}

.collection-card h3 {
    margin: 30px 0 15px;
    font-size: 24px;
    color: var(--dark);
}

.collection-card p {
    color: var(--light-text);
}

.collection-card:hover h3,
.collection-card:hover p {
    color: var(--white);
}

/* =========================================
   STYLE HIGHLIGHT
========================================= */

.style-highlight {
    padding: 130px 0;
    background: var(--dark);
    color: var(--white);
}

.style-highlight h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(45px, 7vw, 80px);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 25px;
}

.style-highlight > .container > p:last-child {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   WHY US
========================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    padding: 35px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.why-card h3 {
    margin: 25px 0 12px;
    color: var(--dark);
}

.why-card p {
    color: var(--light-text);
}

/* =========================================
   CONTACT INFORMATION
========================================= */

.contact-info-section {
    background: var(--beige);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.detail-item h4 {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-item p {
    color: var(--text);
}

.detail-item a {
    color: var(--dark);
    font-weight: 600;
}

.detail-item a:hover {
    color: var(--accent);
}

/* =========================================
   FORMS
========================================= */

.form-section {
    background: var(--cream);
}

.form-wrapper {
    max-width: 950px;
}

.form-heading {
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    background: var(--white);
    padding: 45px;
    box-shadow: var(--shadow);
}

.single-form {
    grid-template-columns: 1fr;
    padding: 0;
    box-shadow: none;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 15px;
    font-family: inherit;
    font-size: 15px;
    background: var(--cream);
    color: var(--text);
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(183, 92, 53, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* =========================================
   PAGE BANNER
========================================= */

.page-banner {
    padding: 100px 0;
    background: var(--dark);
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(45px, 6vw, 75px);
}

.page-banner > .container > p:last-child {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-page-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.contact-page-details .detail-item {
    margin-top: 25px;
}

.contact-form-box {
    background: var(--white);
    padding: 45px;
    box-shadow: var(--shadow);
}

/* =========================================
   POLICY PAGES
========================================= */

.policy-section {
    background: var(--cream);
}

.policy-content {
    max-width: 850px;
}

.policy-content h2 {
    margin-bottom: 45px;
}

.policy-content h3 {
    color: var(--dark);
    margin-top: 35px;
    margin-bottom: 10px;
    font-size: 23px;
}

.policy-content p {
    color: var(--light-text);
}

.policy-content a {
    color: var(--accent);
    font-weight: 600;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer h3 {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--accent);
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 950px) {

    .hero-grid,
    .contact-info-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-design {
        min-height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 700px) {

    .navbar {
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        padding: 70px 0;
    }

    .section {
        padding: 70px 0;
    }

    .collection-grid,
    .why-grid,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-number span {
        font-size: 70px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .full-width {
        grid-column: auto;
    }

    .contact-form-box {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-design {
        min-height: 350px;
    }

    .style-card {
        left: 30px;
        bottom: 50px;
    }

    .box-one {
        left: 20px;
        width: 180px;
        height: 180px;
    }

    .box-two {
        right: 20px;
        width: 130px;
        height: 130px;
    }

}

@media (max-width: 450px) {

    .container {
        width: 92%;
    }

    .hero h1,
    .page-banner h1 {
        font-size: 42px;
    }

    .style-highlight h2 {
        font-size: 42px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

}