
/* ==============================
   EVEREST CRAFTRIA LTD
   Clothing & Accessories Website
   ============================== */

:root {
    --green: #273d32;
    --green-light: #435849;
    --gold: #e8d3a4;
    --gold-dark: #7c6948;
    --cream: #faf8f4;
    --beige: #eee8df;
    --text: #25241f;
    --muted: #6c6a63;
    --border: #e3dbd0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

img,
svg {
    max-width: 100%;
}

/* Header */

.header {
    min-height: 78px;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(250, 248, 244, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: bold;
}

.logo strong {
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
}

.logo small {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    font-size: 12px;
    color: var(--muted);
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--green);
}

.header-button {
    padding: 12px 19px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.2s;
}

.header-button:hover {
    background: var(--green-light);
}

/* Shared buttons */

.button {
    display: inline-block;
    padding: 15px 22px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.button-gold {
    background: var(--gold);
    color: var(--green);
}

.button-gold:hover {
    background: var(--white);
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */

.hero {
    min-height: 620px;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            rgba(215, 194, 155, 0.15),
            transparent 40%
        ),
        var(--green);
    color: var(--white);
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 70px);
    font-weight: normal;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-description {
    max-width: 480px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.location-note {
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.location-note::first-letter {
    color: var(--gold);
}

/* Hero fashion artwork */

.hero-art {
    width: 100%;
    max-width: 490px;
    margin: auto;
    padding: 12px;
    border: 1px solid rgba(232, 211, 164, 0.5);
}

.art-card {
    padding: 24px;
    background:
        linear-gradient(
            135deg,
            transparent 30%,
            rgba(255, 255, 255, 0.16) 30.5%,
            transparent 31%
        ),
        #d8cbbb;
    color: var(--green);
}

.art-label {
    font-size: 9px;
    letter-spacing: 3px;
}

.fashion-illustration {
    height: 300px;
    display: grid;
    place-items: center;
    padding: 20px;
}

.fashion-illustration svg {
    height: 100%;
    width: 100%;
}

.art-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 2px;
}

.art-star {
    font-size: 25px;
}

.art-tagline {
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-style: italic;
}

/* Shared sections */

.section {
    padding: 95px 7%;
}

.section h2,
.contact-banner h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 49px);
    font-weight: normal;
    line-height: 1.2;
}

.dark-eyebrow {
    color: var(--gold-dark);
}

/* About */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: start;
}

.about-text {
    padding-top: 5px;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.about-text blockquote {
    margin-top: 25px;
    padding-left: 18px;
    border-left: 2px solid #b79b66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
}

/* Collections */

.collections {
    background: var(--beige);
}

.collections-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
}

.collections-intro {
    max-width: 360px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.collection-card {
    min-width: 0;
    background: var(--cream);
    transition: transform 0.25s, box-shadow 0.25s;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(39, 61, 50, 0.08);
}

.collection-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collection-image svg {
    width: 210px;
    height: 230px;
    transition: transform 0.3s;
}

.collection-card:hover .collection-image svg {
    transform: scale(1.04);
}

.clothing-image {
    background: #d9d2c7;
}

.accessories-image {
    background: #d4c6b4;
}

.retail-image {
    background: #d7d8cc;
    flex-direction: column;
}

.collection-info {
    padding: 24px;
}

.collection-number {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.collection-info h3 {
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
}

.collection-info p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.disclaimer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
}

/* Decorative folded clothes */

.folded {
    width: 140px;
    height: 68px;
    margin-top: -1px;
    border-radius: 2px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.08);
}

.folded-one {
    background: #e6dfd2;
    transform: translateY(25px) rotate(-5deg);
}

.folded-two {
    background: #8b9a82;
    transform: translateY(5px) rotate(4deg);
}

.folded-three {
    background: #9b8068;
    transform: translateY(-15px) rotate(-3deg);
}

/* Contact banner */

.contact-banner {
    padding: 65px 7%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-banner .eyebrow {
    margin-bottom: 14px;
}

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

.contact-banner p:not(.eyebrow) {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

/* Contact section */

.contact {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 75px;
    align-items: start;
}

.contact-intro {
    max-width: 430px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--beige);
    font-size: 18px;
}

.contact-item span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.contact-item a,
.contact-item p {
    font-size: 13px;
    line-height: 1.9;
}

.contact-item a {
    overflow-wrap: anywhere;
    text-decoration-color: #b79b66;
    text-underline-offset: 4px;
}

.contact-item div > a + a {
    display: inline-block;
    margin-top: 7px;
}

.contact-form-wrapper {
    padding: 35px;
    background: var(--beige);
}

.contact-form-wrapper h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: normal;
}

.contact-form-wrapper > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

#contact-form label {
    margin: 15px 0 8px;
    font-size: 12px;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d9d0c4;
    border-radius: 0;
    background: var(--cream);
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--green);
}

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

.submit-button {
    margin-top: 22px;
    padding: 16px;
    border: none;
    background: var(--green);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: var(--green-light);
}

#form-status {
    margin-top: 12px;
    font-size: 12px;
}

/* Footer */

.footer {
    padding: 30px 7%;
    background: #201f1b;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand strong {
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
}

.footer-brand p,
.footer > p,
.footer > a {
    font-size: 11px;
}

.footer-brand p {
    margin-top: 7px;
}

.footer > a {
    color: var(--gold);
    overflow-wrap: anywhere;
}

/* Tablet */

@media (max-width: 900px) {
    .header {
        padding-left: 4%;
        padding-right: 4%;
        gap: 14px;
    }

    .navigation {
        gap: 15px;
    }

    .hero {
        padding: 60px 5%;
        gap: 30px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section {
        padding: 75px 5%;
    }

    .about,
    .contact {
        gap: 40px;
    }

    .collection-grid {
        gap: 15px;
    }

    .collection-info {
        padding: 18px;
    }

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

/* Mobile */

@media (max-width: 650px) {
    .header {
        min-height: 72px;
        padding: 12px 5%;
        flex-wrap: wrap;
    }

    .logo-icon {
        width: 39px;
        height: 39px;
    }

    .logo strong {
        font-size: 12px;
    }

    .logo small {
        font-size: 8px;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0 2px;
        border-top: 1px solid var(--border);
    }

    .navigation a {
        font-size: 11px;
    }

    .header-button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 58px 6%;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(43px, 11vw, 58px);
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        text-align: center;
    }

    .hero-art {
        max-width: 430px;
    }

    .fashion-illustration {
        height: 260px;
    }

    .section {
        padding: 65px 6%;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section h2 {
        font-size: 36px;
    }

    .collections-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .collection-image {
        height: 270px;
    }

    .collection-info {
        padding: 24px;
    }

    .contact-banner {
        padding: 55px 6%;
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-banner h2 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 6%;
        gap: 18px;
    }
}

/* Accessibility */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #b79b66;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
