/* ========================================
   Superior Concrete & Supply — Styles
   Emerald Green + Cream | Warm & Friendly
======================================== */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #044630;
    --emerald-700: #055e40;
    --emerald-600: #047857;
    --emerald-500: #059565;
    --emerald-400: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream:       #fdf8f0;
    --cream-dark:  #f5eddf;
    --cream-light: #fefcf7;
    --stone-50:    #fafaf9;
    --stone-100:   #f5f5f4;
    --stone-200:   #e7e5e4;
    --stone-300:   #d6d3d1;
    --stone-400:   #a8a29e;
    --stone-500:   #78716c;
    --stone-600:   #57534e;
    --stone-700:   #44403c;
    --stone-800:   #292524;
    --stone-900:   #1c1917;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl:   0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: var(--stone-800);
    background-color: var(--cream-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--stone-900);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

.btn--ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn--light {
    background: #fff;
    color: var(--emerald-700);
    border-color: #fff;
}

.btn--light:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Section Shared
======================================== */
.section {
    padding: 100px 0;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--stone-500);
    max-width: 560px;
    line-height: 1.7;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__header .section__subtitle {
    margin: 0 auto;
}

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    transition: color var(--transition);
}

.nav.scrolled .nav__logo {
    color: var(--stone-900);
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: all var(--transition);
}

.nav__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.nav.scrolled .nav__link {
    color: var(--stone-600);
}

.nav.scrolled .nav__link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav__link--cta {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    margin-left: 8px;
    font-weight: 600;
}

.nav__link--cta:hover {
    background: #fff !important;
    color: var(--emerald-700) !important;
}

.nav.scrolled .nav__link--cta {
    background: var(--emerald-600);
    color: #fff !important;
}

.nav.scrolled .nav__link--cta:hover {
    background: var(--emerald-700);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
}

.nav.scrolled .nav__toggle {
    color: var(--stone-800);
}

/* ========================================
   Mobile Menu
======================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--stone-700);
    padding: 8px;
}

.mobile-menu__link {
    display: block;
    padding: 14px 32px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-700);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.mobile-menu__link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.mobile-menu__link--cta {
    margin-top: 16px;
    background: var(--emerald-600);
    color: #fff !important;
    border-radius: var(--radius-lg);
}

.mobile-menu__contact {
    margin-top: 32px;
    text-align: center;
    color: var(--stone-500);
    font-size: 0.9rem;
}

.mobile-menu__contact a {
    color: var(--emerald-600);
}

/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #042f23 0%, #047857 40%, #10b981 70%, #34d399 100%);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.7;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__title-accent {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.55em;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    letter-spacing: 0;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   Services
======================================== */
.services {
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stone-100);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.service-card {
    text-align: left;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: #fff;
}

.service-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--stone-500);
    line-height: 1.7;
}

/* ========================================
   About
======================================== */
.about {
    background: var(--cream-light);
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-light);
}

.about__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__stat-card {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-600);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about__stat-number {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.about__stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.about__stat-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
}

.about__content {
    max-width: 480px;
}

.about__text {
    font-size: 1.02rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--stone-700);
}

/* ========================================
   Projects
======================================== */
.projects {
    background: var(--cream);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 35, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: all var(--transition);
}

.project-card__tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 10px;
}

.project-card__title {
    font-size: 1.35rem;
    color: #fff;
    font-weight: 700;
}

/* ========================================
   CTA Banner
======================================== */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
}

.cta-banner__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #042f23 0%, #047857 50%, #059565 100%);
}

.cta-banner__pattern {
    position: absolute;
    inset: 0;
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Contact
======================================== */
.contact {
    background: var(--cream-light);
}

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

.contact__text {
    font-size: 1.02rem;
    color: var(--stone-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-400);
    margin-bottom: 4px;
}

.contact__detail p {
    font-size: 0.95rem;
    color: var(--stone-700);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--emerald-600);
    font-weight: 500;
    transition: color var(--transition);
}

.contact__detail a:hover {
    color: var(--emerald-700);
}

.contact__map {
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.contact__form-wrapper {
    width: 100%;
}

.contact__form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stone-100);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--stone-900);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 6px;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--stone-800);
    background: var(--stone-50);
    transition: all var(--transition);
    outline: none;
}

.form__input::placeholder {
    color: var(--stone-400);
}

.form__input:focus {
    border-color: var(--emerald-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form__success.show {
    display: block;
}

.form__success svg {
    margin: 0 auto 16px;
}

.form__success h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--emerald-700);
}

.form__success p {
    color: var(--stone-500);
    font-size: 0.95rem;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(255,255,255,0.5);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__link-col strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer__link-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer__link-col a:hover {
    color: var(--emerald-400);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ========================================
   Scroll Animations
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 100px 20px 80px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__trust {
        gap: 20px;
    }

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

    .about__layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about__images {
        max-width: 480px;
        margin: 0 auto;
    }

    .about__img-secondary {
        right: -12px;
        bottom: -20px;
    }

    .about__stat-card {
        left: -12px;
        top: -16px;
    }

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

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

    .contact__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-card {
        padding: 28px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__links {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner__actions {
        flex-direction: column;
        gap: 12px;
    }

    .cta-banner__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
