/* =====================================================
   BALAJI SAAFA HOUSE
   Main Website Styles
===================================================== */

:root {
    --maroon: #7b1113;
    --dark-maroon: #4e0809;
    --red: #a7191d;
    --gold: #c99a3b;
    --light-gold: #e5c878;
    --cream: #fff8e8;
    --cream-dark: #f5ead0;
    --white: #ffffff;
    --text: #3d2420;
    --muted: #765f57;
    --shadow: 0 8px 25px rgba(75, 20, 10, 0.13);
    --radius: 18px;
}

/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(201, 154, 59, 0.12), transparent 30%),
        linear-gradient(180deg, #fffdf7 0%, #fff7e7 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    width: 100%;
    min-height: 82px;
    padding: 12px 6%;
    background: rgba(255, 250, 238, 0.97);
    border-bottom: 1px solid rgba(123, 17, 19, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(60, 20, 10, 0.08);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold), #f0d28a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid var(--maroon);
    box-shadow: 0 4px 12px rgba(123, 17, 19, 0.2);
}

.brand-text h1 {
    color: var(--maroon);
    font-size: clamp(21px, 3vw, 32px);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-text p {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 19px;
    transition: 0.25s ease;
}

.icon-btn:hover {
    transform: translateY(-3px);
}

.call-btn {
    background: var(--maroon);
}

.whatsapp-btn {
    background: #1fa855;
}

.instagram-btn {
    background: linear-gradient(
        135deg,
        #f9ce34,
        #ee2a7b,
        #6228d7
    );
}

/* =====================================================
   OWNER PROFILE
===================================================== */

.owner-section {
    width: min(1180px, 92%);
    margin: 35px auto 25px;
    padding: 32px;
    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.98),
            rgba(255,247,224,0.95)
        );
    border: 1px solid rgba(201, 154, 59, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 35px;
    position: relative;
    overflow: hidden;
}

.owner-section::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(201,154,59,0.22);
    border-radius: 50%;
    right: -70px;
    top: -80px;
}

.owner-photo {
    width: 210px;
    height: 245px;
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 5px solid var(--white);
    outline: 2px solid var(--gold);
    box-shadow: 0 8px 22px rgba(60, 20, 10, 0.2);
    background: var(--cream-dark);
    position: relative;
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    color: var(--gold);
    background: linear-gradient(
        145deg,
        #fff8e8,
        #ead4a0
    );
}

.owner-info {
    position: relative;
    z-index: 2;
}

.small-title {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.owner-info h2 {
    color: var(--maroon);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
}

.owner-business {
    color: var(--gold);
    font-weight: bold;
    font-size: 20px;
    margin: 5px 0 12px;
}

.owner-description {
    max-width: 650px;
    color: var(--muted);
    font-size: 16px;
}

.quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.quick-contact a,
.bottom-buttons a,
.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.25s ease;
}

.quick-contact a:first-child {
    color: white;
    background: var(--maroon);
}

.quick-contact a:last-child {
    color: white;
    background: #159447;
}

.quick-contact a:hover,
.bottom-buttons a:hover,
.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(70, 20, 10, 0.18);
}

/* =====================================================
   INFORMATION CARDS
===================================================== */

.info-section {
    width: min(1180px, 92%);
    margin: 25px auto 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201,154,59,0.45);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    gap: 18px;
    box-shadow: 0 5px 18px rgba(70,20,10,0.08);
}

.info-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--maroon);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.info-card h3 {
    color: var(--maroon);
    font-size: 21px;
    margin-bottom: 6px;
}

.info-card p {
    color: var(--muted);
    font-size: 14px;
}

.map-btn {
    color: white;
    background: var(--maroon);
    font-size: 13px;
    margin-top: 12px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.contact-links a {
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--cream-dark);
    color: var(--maroon);
    font-size: 13px;
    font-weight: bold;
}

/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 25px;
}

.section-heading > span {
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.section-heading h2 {
    color: var(--maroon);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin-top: 3px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 4px;
    font-size: 15px;
}

.heading-line {
    width: 75px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    position: relative;
}

.heading-line::before,
.heading-line::after {
    content: "◆";
    position: absolute;
    top: -8px;
    color: var(--maroon);
    font-size: 8px;
}

.heading-line::before {
    left: -13px;
}

.heading-line::after {
    right: -13px;
}

/* =====================================================
   ABOUT
===================================================== */

.about-section {
    width: min(1000px, 92%);
    margin: 0 auto 55px;
    padding: 35px;
    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #f8ead0
        );
    border-radius: 22px;
    border: 1px solid rgba(201,154,59,0.4);
    box-shadow: var(--shadow);
}

.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-content p {
    color: var(--muted);
    margin: 10px 0;
    font-size: 16px;
}

/* =====================================================
   COLLECTION SECTIONS
===================================================== */

.collection-section {
    width: min(1200px, 94%);
    margin: 0 auto 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(201,154,59,0.35);
    box-shadow: 0 5px 15px rgba(70,20,10,0.08);
    transition: 0.28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(70,20,10,0.15);
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--cream-dark);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-name {
    text-align: center;
    color: var(--maroon);
    font-size: 16px;
    font-weight: bold;
    padding: 12px 8px 14px;
    min-height: 48px;
}

/* =====================================================
   EMPTY COLLECTION
===================================================== */

.empty-collection {
    grid-column: 1 / -1;
    text-align: center;
    padding: 35px 20px;
    border: 1px dashed rgba(123,17,19,0.3);
    border-radius: 15px;
    color: var(--muted);
    background: rgba(255,255,255,0.5);
}

.empty-collection i {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 8px;
}

/* =====================================================
   BOTTOM CONTACT
===================================================== */

.bottom-contact {
    margin-top: 20px;
    padding: 55px 20px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            var(--dark-maroon),
            var(--maroon)
        );
    color: white;
    position: relative;
    overflow: hidden;
}

.bottom-contact::before {
    content: "✦";
    position: absolute;
    font-size: 180px;
    color: rgba(229,200,120,0.06);
    left: 5%;
    top: -60px;
}

.bottom-contact::after {
    content: "✦";
    position: absolute;
    font-size: 180px;
    color: rgba(229,200,120,0.06);
    right: 5%;
    bottom: -90px;
}

.bottom-contact h2 {
    color: var(--light-gold);
    font-size: clamp(28px, 4vw, 42px);
}

.bottom-contact p {
    margin-top: 5px;
    opacity: 0.85;
}

.bottom-buttons {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.bottom-buttons a {
    background: var(--cream);
    color: var(--maroon);
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #320607;
    color: #e9d7b0;
    text-align: center;
    padding: 25px 15px;
}

.footer-brand {
    color: var(--light-gold);
    font-size: 21px;
    font-weight: bold;
}

footer p {
    font-size: 13px;
    margin: 3px 0 7px;
    opacity: 0.8;
}

footer small {
    font-size: 11px;
    opacity: 0.65;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .owner-section {
        grid-template-columns: 190px 1fr;
        padding: 25px;
    }

    .owner-photo {
        width: 175px;
        height: 215px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .site-header {
        min-height: 70px;
        padding: 9px 4%;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        width: 43px;
        height: 43px;
        font-size: 22px;
    }

    .brand-text h1 {
        font-size: 17px;
        letter-spacing: 0.5px;
    }

    .brand-text p {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .header-actions {
        gap: 5px;
    }

    .icon-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .owner-section {
        width: 94%;
        margin-top: 20px;
        padding: 20px;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .owner-photo {
        width: 155px;
        height: 190px;
    }

    .owner-info h2 {
        font-size: 28px;
    }

    .owner-business {
        font-size: 17px;
    }

    .owner-description {
        font-size: 14px;
    }

    .quick-contact {
        justify-content: center;
    }

    .info-section {
        width: 94%;
        grid-template-columns: 1fr;
        gap: 13px;
        margin-bottom: 35px;
    }

    .info-card {
        padding: 18px;
    }

    .about-section {
        width: 94%;
        padding: 25px 18px;
        margin-bottom: 45px;
    }

    .about-content p {
        font-size: 14px;
    }

    .collection-section {
        width: 94%;
        margin-bottom: 45px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-name {
        font-size: 13px;
        padding: 9px 5px 11px;
        min-height: 40px;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .bottom-contact {
        padding: 42px 15px;
    }

    .bottom-buttons {
        gap: 8px;
    }

    .bottom-buttons a {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 390px) {

    .brand-text p {
        display: none;
    }

    .brand-text h1 {
        font-size: 15px;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .owner-info h2 {
        font-size: 25px;
    }

    .product-grid {
        gap: 8px;
    }

    .product-name {
        font-size: 12px;
    }
}

.owner-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 25px;
    text-decoration: none;
    color: #ffffff !important;
    background: linear-gradient(
        45deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
    font-weight: 600;
    transition: 0.25s ease;
}

.owner-instagram-btn i {
    color: #ffffff !important;
    font-size: 17px;
}

.owner-instagram-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.owner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================================
   FIX: ALL LINKS CLICKABLE
================================ */

a {
    position: relative;
    z-index: 1000;
    pointer-events: auto !important;
    cursor: pointer;
}

/* Decorative layers click ko block na kare */
body::before,
body::after,
.site-header::before,
.site-header::after,
.owner-section::before,
.owner-section::after,
.info-section::before,
.info-section::after,
.info-card::before,
.info-card::after,
.about-section::before,
.about-section::after,
.collection-section::before,
.collection-section::after,
.bottom-contact::before,
.bottom-contact::after,
footer::before,
footer::after {
    pointer-events: none !important;
}

/* Buttons ke andar icon bhi click ko block na kare */
a i {
    pointer-events: none;
}

.location-btn {
    background: #c62828 !important;
    color: #ffffff !important;
    border: 2px solid #c62828 !important;
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.30);
}

.location-btn i {
    color: #ffffff !important;
}

/* =====================================================
   CLICKABLE LOCATION CARD
===================================================== */

.location-card {
    position: relative;
    z-index: 10;
    cursor: pointer;
    color: inherit;
    text-decoration: none !important;
    transition: 0.25s ease;
    pointer-events: auto !important;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(70, 20, 10, 0.15);
}

.location-icon {
    background: #c62828 !important;
    color: #ffffff !important;
}

.location-icon i {
    color: #ffffff !important;
    pointer-events: none;
}

.location-card h3 {
    color: var(--maroon);
}

.location-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 15px;
    background: #c62828;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.location-hint i {
    color: #ffffff;
    pointer-events: none;
}
