/* =========================================================
   SRI KAMACHI RESHME CENTRE
   HOME PAGE — ALL PAGE CSS
   ========================================================= */

:root {
    --sc-maroon: #4b0718;
    --sc-maroon-dark: #30040e;
    --sc-green: #123f32;
    --sc-gold: #c99a38;
    --sc-gold-light: #e8c66a;
    --sc-cream: #fffaf1;
    --sc-white: #ffffff;
    --sc-text: #2e2929;
    --sc-muted: #746d6e;
}

/* =========================================================
   HERO
   ========================================================= */

.sc-hero {
    position: relative;
    min-height: clamp(590px, 78vh, 770px);
    overflow: hidden;
    isolation: isolate;
    background: var(--sc-green);
}

.sc-hero-slides,
.sc-hero-slide {
    position: absolute;
    inset: 0;
}

.sc-hero-slide {
    opacity: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.045);
    transition: opacity 1.25s ease, transform 7s cubic-bezier(.2,.6,.2,1);
}

.sc-hero-slide-1 {
    background-image: url("../images/hero1.png");
}

.sc-hero-slide-2 {
    background-image: url("../images/hero2.png");
}

.sc-hero-slide-3 {
    background-image: url("../images/hero3.png");
}

.sc-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.sc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(10, 42, 29, .94) 0%,
            rgba(10, 42, 29, .84) 30%,
            rgba(10, 42, 29, .52) 58%,
            rgba(10, 42, 29, .12) 100%
        ),
        linear-gradient(0deg, rgba(0,0,0,.32), transparent 48%);
}

.sc-hero-glow {
    position: absolute;
    z-index: 2;
    left: -180px;
    bottom: -280px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(201,154,56,.17);
    filter: blur(50px);
    pointer-events: none;
    animation: scHeroGlow 8s ease-in-out infinite alternate;
}

@keyframes scHeroGlow {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(150px,-70px,0) scale(1.15); }
}

.sc-hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, 90%);
    min-height: clamp(590px, 78vh, 770px);
    margin: 0 auto;
    padding: 80px 0 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.sc-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    color: var(--sc-gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.sc-hero-eyebrow::before {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--sc-gold-light);
}

.sc-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(58px, 6.4vw, 94px);
    font-weight: 700;
    line-height: .91;
    letter-spacing: -2px;
}

.sc-hero h1 span {
    color: #e8b72e;
    font-style: italic;
}

.sc-hero-description {
    max-width: 650px;
    margin: 27px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.75;
}

.sc-hero-actions {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 31px;
}

.sc-hero-primary,
.sc-hero-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.sc-hero-primary {
    color: #2d0710;
    background: #f0b51e;
    box-shadow: 0 10px 25px rgba(0,0,0,.16);
}

.sc-hero-primary span {
    font-size: 20px;
    transition: transform .3s ease;
}

.sc-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.sc-hero-primary:hover span {
    transform: translateX(5px);
}

.sc-hero-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(7px);
}

.sc-hero-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.16);
}

.sc-hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 31px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
}

.sc-hero-trust i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sc-gold-light);
}

/* Hero text reveal — slow, elegant, bottom to top */
.sc-reveal {
    opacity: 0;
    transform: translateY(48px);
}

.sc-hero.slide-ready .sc-reveal {
    animation: scTextReveal 1.05s cubic-bezier(.16,1,.3,1) forwards;
}

.sc-hero.slide-ready .sc-reveal-delay-1 { animation-delay: .12s; }
.sc-hero.slide-ready .sc-reveal-delay-2 { animation-delay: .25s; }
.sc-hero.slide-ready .sc-reveal-delay-3 { animation-delay: .38s; }
.sc-hero.slide-ready .sc-reveal-delay-4 { animation-delay: .51s; }

@keyframes scTextReveal {
    from {
        opacity: 0;
        transform: translateY(48px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero controls */
.sc-hero-controls {
    position: absolute;
    z-index: 5;
    right: 5%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sc-hero-arrow {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: .25s ease;
}

.sc-hero-arrow:hover {
    color: #2d0710;
    background: var(--sc-gold-light);
    border-color: var(--sc-gold-light);
}

.sc-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-hero-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.sc-hero-dots button.active {
    width: 27px;
    border-radius: 10px;
    background: var(--sc-gold-light);
}

.sc-hero-scroll {
    position: absolute;
    z-index: 5;
    left: 5%;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sc-hero-scroll b {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 12px;
    animation: scScrollBounce 1.7s ease-in-out infinite;
}

@keyframes scScrollBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =========================================================
   ABOUT
   ========================================================= */

.sc-about {
    position: relative;
    overflow: hidden;
    padding: 115px 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(201,154,56,.08), transparent 30%),
        var(--sc-cream);
}

.sc-about-inner {
    width: min(1180px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

.sc-about-media {
    position: relative;
    min-height: 560px;
}

.sc-about-image-frame {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 0 38px 38px 38px;
    box-shadow: 0 25px 55px rgba(47,3,13,.14);
}

.sc-about-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(25,10,12,.22), transparent 45%);
    pointer-events: none;
}

.sc-about-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s cubic-bezier(.16,1,.3,1);
}

.sc-about-media:hover .sc-about-image-frame img {
    transform: scale(1.035);
}

.sc-about-badge {
    position: absolute;
    z-index: 2;
    top: -25px;
    left: -24px;
    width: 145px;
    height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: var(--sc-green);
    border: 5px solid var(--sc-cream);
    box-shadow: 0 10px 30px rgba(18,63,50,.2);
}

.sc-about-badge strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
}

.sc-about-badge span {
    max-width: 90px;
    margin-top: 3px;
    color: var(--sc-gold-light);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-about-deco {
    position: absolute;
    z-index: 1;
    width: 75px;
    height: 75px;
    border: 1px solid rgba(201,154,56,.5);
    pointer-events: none;
}

.sc-about-deco-1 {
    right: -20px;
    top: -20px;
    border-left: 0;
    border-bottom: 0;
}

.sc-about-deco-2 {
    left: -20px;
    bottom: -20px;
    border-right: 0;
    border-top: 0;
}

.sc-section-kicker {
    margin: 0 0 15px;
    color: var(--sc-gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-style: italic;
}

.sc-about-heading {
    max-width: 700px;
    margin: 0;
    color: #151313;
    font-size: clamp(42px, 4.4vw, 67px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -1.8px;
}

.sc-about-heading span {
    color: var(--sc-gold);
}

.sc-about-text {
    max-width: 680px;
    margin: 24px 0 0;
    color: #6e6868;
    font-size: 15px;
    line-height: 1.85;
}

.sc-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 50px;
    margin-top: 31px;
    padding: 0 23px;
    border-radius: 999px;
    color: #fff;
    background: var(--sc-gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(201,154,56,.18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sc-about-btn span {
    font-size: 18px;
    transition: transform .3s ease;
}

.sc-about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(201,154,56,.25);
}

.sc-about-btn:hover span {
    transform: translateX(5px);
}

/* About reveal: slow lateral movement */
.sc-about-reveal,
.sc-about-item {
    opacity: 0;
}

.sc-about-image {
    transform: translateX(-65px);
}

.sc-about-content .sc-about-item {
    transform: translateY(35px);
}

.sc-about.about-visible .sc-about-image {
    animation: scAboutImageReveal 1.6s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes scAboutImageReveal {
    from {
        opacity: 0;
        transform: translateX(-65px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sc-about.about-visible .sc-about-kicker,
.sc-about.about-visible .sc-about-item {
    animation: scAboutTextReveal 1.2s cubic-bezier(.16,1,.3,1) forwards;
}

.sc-about.about-visible .sc-about-item:nth-child(1) { animation-delay: .30s; }
.sc-about.about-visible .sc-about-item:nth-child(2) { animation-delay: .48s; }
.sc-about.about-visible .sc-about-item:nth-child(3) { animation-delay: .68s; }
.sc-about.about-visible .sc-about-item:nth-child(4) { animation-delay: .84s; }
.sc-about.about-visible .sc-about-item:nth-child(5) { animation-delay: 1s; }

@keyframes scAboutTextReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .sc-hero,
    .sc-hero-content {
        min-height: 650px;
    }

    .sc-hero-content {
        width: 88%;
        padding: 80px 0 115px;
    }

    .sc-hero h1 {
        font-size: clamp(52px, 10vw, 76px);
    }

    .sc-hero-overlay {
        background:
            linear-gradient(90deg, rgba(10,42,29,.91), rgba(10,42,29,.58)),
            linear-gradient(0deg, rgba(0,0,0,.35), transparent 60%);
    }

    .sc-about {
        padding: 90px 0;
    }

    .sc-about-inner {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .sc-about-media {
        width: min(650px, 100%);
        min-height: 500px;
        margin: 0 auto;
    }

    .sc-about-image-frame {
        height: 500px;
    }
}

@media (max-width: 600px) {
    .sc-hero,
    .sc-hero-content {
        min-height: 650px;
    }

    .sc-hero-content {
        width: 88%;
        padding: 70px 0 110px;
    }

    .sc-hero-eyebrow {
        margin-bottom: 15px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .sc-hero-eyebrow::before {
        width: 25px;
    }

    .sc-hero h1 {
        max-width: 390px;
        font-size: clamp(48px, 14vw, 66px);
        line-height: .92;
        letter-spacing: -1px;
    }

    .sc-hero-description {
        max-width: 370px;
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.65;
    }

    .sc-hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 25px;
    }

    .sc-hero-primary,
    .sc-hero-secondary {
        min-height: 48px;
        padding: 0 21px;
        font-size: 12px;
    }

    .sc-hero-trust {
        flex-wrap: wrap;
        gap: 7px 10px;
        margin-top: 23px;
        font-size: 8px;
    }

    .sc-hero-controls {
        right: 6%;
        bottom: 27px;
    }

    .sc-hero-scroll {
        left: 6%;
        bottom: 34px;
    }

    .sc-hero-slide {
        background-position: 62% center;
    }

    .sc-about {
        padding: 72px 0 85px;
    }

    .sc-about-inner {
        width: 88%;
        gap: 55px;
    }

    .sc-about-media {
        min-height: 400px;
    }

    .sc-about-image-frame {
        height: 400px;
        border-radius: 0 25px 25px 25px;
    }

    .sc-about-badge {
        top: -18px;
        left: -10px;
        width: 112px;
        height: 112px;
        border-width: 4px;
    }

    .sc-about-badge strong {
        font-size: 22px;
    }

    .sc-about-badge span {
        font-size: 7px;
    }

    .sc-about-deco {
        width: 55px;
        height: 55px;
    }

    .sc-about-heading {
        font-size: clamp(39px, 12vw, 57px);
        letter-spacing: -1px;
    }

    .sc-about-text {
        font-size: 13px;
        line-height: 1.75;
    }

    .sc-section-kicker {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-hero-slide,
    .sc-hero-glow,
    .sc-hero-scroll b,
    .sc-reveal,
    .sc-about-reveal,
    .sc-about-item {
        animation: none !important;
        transition: none !important;
    }

    .sc-hero-slide {
        transform: none;
    }
}
