/* =========================================================
   RAVI PACKAGING
   MAIN WEBSITE STYLES
========================================================= */

/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
    --rp-primary: #173f35;
    --rp-primary-dark: #0f2e27;
    --rp-primary-light: #eaf3ef;

    --rp-accent: #c49a5a;
    --rp-accent-light: #f7efe2;

    --rp-dark: #17201d;
    --rp-text: #38433f;
    --rp-muted: #73807b;

    --rp-white: #ffffff;
    --rp-light: #f7f8f7;
    --rp-border: #e5e9e7;

    --rp-radius-sm: 8px;
    --rp-radius-md: 14px;
    --rp-radius-lg: 22px;

    --rp-shadow-sm: 0 5px 20px rgba(20, 40, 34, 0.06);
    --rp-shadow-md: 0 15px 45px rgba(20, 40, 34, 0.1);

    --rp-container: 1280px;

    --rp-transition: 0.25s ease;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    color: var(--rp-text);
    background: var(--rp-white);
    line-height: 1.6;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

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

/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    max-width: var(--rp-container);
}

/* =========================================================
   HERO
========================================================= */
/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 90px 0;
}

/* Dark overlay for better text visibility */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(114, 1, 1, 0);
    z-index: 0;
}

/* Decorative circle */
.hero-section::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    background: linear-gradient(136deg, rgba(196, 154, 90, 0.08), rgba(0, 0, 0, 0.048));
    z-index: 1;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-eyebrow,
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--rp-primary);
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    color:black;
    margin-bottom: 24px;
}

.hero-content h1 span {
    display: block;
    color: var(--rp-primary);
}

.hero-content p {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(83, 3, 3, 0.88);
    margin-bottom: 34px;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    transition: var(--rp-transition);
}

.btn-primary-custom {
    color:rgb(2, 2, 2);
    background: var(--rp-accent);
    border: 1px solid var(--rp-accent);
}

.btn-primary-custom:hover {
    color:black;
    background:white;
    border-color: var(--rp-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    color: white;
    background:rgb(47, 48, 47);
    border: 1px solid var(--rp-border);
}

.btn-secondary-custom:hover {
    color: white;
    border-color: white;
    border: 1px solid var(--rp-border);

    transform: translateY(-2px);
}

/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    color: rgba(5, 5, 5, 0.9);
}

.hero-trust-item i {
    color: var(--rp-primary-dark);
}

/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .hero-section {
        min-height: 560px;
        padding: 75px 0;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 7vw, 60px);
    }

    .hero-content p {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 600px;
        padding: 70px 0;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        min-height: 50px;
        padding: 0 20px;
    }

    .hero-trust {
        gap: 14px;
        margin-top: 28px;
    }

    .hero-trust-item {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 620px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
    }
}
/* =========================================================
   SECTION COMMON
========================================================= */

.shopping-method-section,
.featured-products-section,
.why-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 680px;

    margin-bottom: 50px;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1px;

    color: var(--rp-dark);

    margin-bottom: 15px;
}

.section-heading p {
    color: var(--rp-muted);

    font-size: 16px;

    margin-bottom: 0;
}

/* =========================================================
   SHOPPING SWITCHER
========================================================= */

.shopping-switcher {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    max-width: 900px;

    margin: 0 auto 45px;
}

.shopping-switch {
    display: flex;

    align-items: center;

    text-align: left;

    gap: 16px;

    padding: 22px;

    background: var(--rp-white);

    border: 1px solid var(--rp-border);

    border-radius: var(--rp-radius-md);

    cursor: pointer;

    transition: var(--rp-transition);
}

.shopping-switch:hover {
    border-color: var(--rp-primary);

    box-shadow: var(--rp-shadow-sm);
}

.shopping-switch.active {
    background: var(--rp-primary);

    border-color: var(--rp-primary);

    color: var(--rp-white);
}

.shopping-switch-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--rp-primary-light);

    color: var(--rp-primary);

    font-size: 20px;
}

.shopping-switch.active .shopping-switch-icon {
    background: rgba(255, 255, 255, 0.12);

    color: var(--rp-white);
}

.shopping-switch-content {
    display: flex;

    flex-direction: column;

    flex: 1;
}

.shopping-switch-content strong {
    font-size: 15px;
}

.shopping-switch-content small {
    margin-top: 2px;

    color: var(--rp-muted);

    font-size: 12px;
}

.shopping-switch.active .shopping-switch-content small {
    color: rgba(255, 255, 255, 0.72);
}

.shopping-switch > i {
    font-size: 18px;
}

/* =========================================================
   SHOPPING VIEWS
========================================================= */

.shopping-view {
    display: none;
}

.shopping-view.active {
    display: block;

    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.category-card {
    overflow: hidden;

    background: var(--rp-white);

    border: 1px solid var(--rp-border);

    border-radius: var(--rp-radius-md);

    transition: var(--rp-transition);
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: transparent;

    box-shadow: var(--rp-shadow-md);
}

.category-card-image {
    aspect-ratio: 2 / 1;

    background: var(--rp-light);

    display: flex;

    align-items: center;
    justify-content: center;
}

.category-placeholder {
    width: 75px;
    height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--rp-primary);

    background: var(--rp-primary-light);

    font-size: 30px;

    transition: var(--rp-transition);
}

.category-card:hover .category-placeholder {
    transform: scale(1.08);
}

.category-card-content {
    padding: 20px;
}

.category-card-content h3 {
    font-size: 16px;

    color: var(--rp-dark);

    margin-bottom: 8px;
}

.category-card-content span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 12px;

    color: var(--rp-muted);

    transition: var(--rp-transition);
}

.category-card:hover .category-card-content span {
    color: var(--rp-primary);
}

/* =========================================================
   PURPOSE GRID
========================================================= */

.purpose-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 2fr));

    gap: 16px;
}

.purpose-card {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px;

    border: 1px solid var(--rp-border);

    border-radius: var(--rp-radius-md);

    background: var(--rp-white);

    transition: var(--rp-transition);
}

.purpose-card:hover {
    border-color: var(--rp-primary);

    transform: translateY(-3px);

    box-shadow: var(--rp-shadow-sm);
}

.purpose-card-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--rp-accent-light);

    color: var(--rp-accent);

    font-size: 21px;
}

.purpose-card-content {
    display: flex;

    flex-direction: column;

    flex: 1;
}

.purpose-card-content strong {
    color: var(--rp-dark);

    font-size: 15px;
}

.purpose-card-content small {
    color: var(--rp-muted);

    font-size: 12px;

    margin-top: 2px;
}

.purpose-card > i {
    color: var(--rp-muted);

    transition: var(--rp-transition);
}

.purpose-card:hover > i {
    color: var(--rp-primary);

    transform: translate(2px, -2px);
}

/* =========================================================
   FEATURED PRODUCTS
========================================================= */

.featured-products-section {
    background: var(--rp-light);
}

.section-header-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-header-row .section-heading {
    margin-bottom: 0;
}

.section-view-all {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    color: var(--rp-primary);

    font-size: 14px;
    font-weight: 600;
}

.section-view-all:hover {
    color: var(--rp-primary-dark);
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    height: 100%;

    overflow: hidden;

    background: var(--rp-white);

    border: 1px solid var(--rp-border);

    border-radius: var(--rp-radius-md);

    transition: var(--rp-transition);
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--rp-shadow-md);

    border-color: transparent;
}

.product-card-image {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    background: #f3f4f3;

    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #b4bdb9;

    font-size: 40px;
}

.product-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 5px 9px;

    border-radius: 5px;

    color: var(--rp-white);

    background: var(--rp-primary);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}

.product-wishlist {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rp-white);

    color: var(--rp-dark);

    cursor: pointer;

    box-shadow: var(--rp-shadow-sm);

    transition: var(--rp-transition);
}

.product-wishlist:hover {
    color: var(--rp-primary);

    transform: scale(1.06);
}

.product-card-content {
    padding: 20px;
}

.product-category {
    display: block;

    color: var(--rp-muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 7px;
}

.product-card h3 {
    font-size: 16px;

    line-height: 1.35;

    color: var(--rp-dark);

    margin-bottom: 10px;
}

.product-card h3 a:hover {
    color: var(--rp-primary);
}

.product-rating {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 12px;

    font-size: 12px;
}

.product-rating span {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    color: var(--rp-primary);
}

.product-rating i {
    font-size: 10px;
}

.product-rating small {
    color: var(--rp-muted);
}

.product-price {
    display: flex;

    align-items: baseline;

    gap: 8px;

    margin-bottom: 5px;
}

.product-current-price {
    color: var(--rp-primary);

    font-size: 20px;
    font-weight: 700;
}

.product-old-price {
    color: #9ca5a1;

    font-size: 13px;

    text-decoration: line-through;
}

.product-price small {
    color: var(--rp-muted);

    font-size: 11px;
}

.product-minimum {
    color: var(--rp-muted);

    font-size: 11px;
}

/* =========================================================
   WHY SECTION
========================================================= */

.why-card {
    height: 100%;

    padding: 30px 25px;

    background: var(--rp-white);

    border: 1px solid var(--rp-border);

    border-radius: var(--rp-radius-md);

    transition: var(--rp-transition);
}

.why-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--rp-shadow-sm);

    border-color: transparent;
}

.why-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 12px;

    background: var(--rp-primary-light);

    color: var(--rp-primary);

    font-size: 21px;
}

.why-card h3 {
    color: var(--rp-dark);

    font-size: 17px;

    margin-bottom: 9px;
}

.why-card p {
    color: var(--rp-muted);

    font-size: 13px;

    margin-bottom: 0;
}

/* =========================================================
   BUSINESS CTA
========================================================= */

.business-cta-section {
    padding: 0 0 100px;
}

.business-cta {
    position: relative;

    overflow: hidden;

    min-height: 350px;

    display: flex;

    align-items: center;

    padding: 60px;

    border-radius: var(--rp-radius-lg);

    background: var(--rp-primary);

    color: var(--rp-white);
}

.business-cta-content {
    position: relative;

    z-index: 2;

    max-width: 650px;
}

.business-cta .section-eyebrow {
    color: #d9b87e;
}

.business-cta h2 {
    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.12;

    letter-spacing: -1px;

    margin-bottom: 16px;
}

.business-cta p {
    max-width: 580px;

    color: rgba(255, 255, 255, 0.72);

    margin-bottom: 28px;
}

.business-cta-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.business-cta .btn-primary-custom {
    background: var(--rp-white);

    color: var(--rp-primary);
}

.business-cta .btn-primary-custom:hover {
    background: #f4f4f2;
}

.business-cta .btn-secondary-custom {
    color: var(--rp-white);

    background: transparent;

    border-color: rgba(255, 255, 255, 0.25);
}

.business-cta .btn-secondary-custom:hover {
    border-color: var(--rp-white);
}

.business-cta-decoration {
    position: absolute;

    right: 50px;
    top: 50%;

    width: 330px;
    height: 330px;

    transform: translateY(-50%);
}

.cta-circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-circle-one {
    width: 330px;
    height: 330px;
}

.cta-circle-two {
    width: 220px;
    height: 220px;

    top: 55px;
    left: 55px;
}

.cta-box-icon {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 80px;

    color: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #101916;

    color: rgba(255, 255, 255, 0.72);
}

.footer-main {
    padding: 75px 0;
}

.footer-logo {
    display: inline-flex;

    flex-direction: column;

    color: var(--rp-white);

    font-size: 25px;
    font-weight: 800;

    line-height: 1;
}

.footer-logo span {
    color: #c9a56c;

    font-size: 10px;

    letter-spacing: 3px;

    margin-top: 5px;
}

.footer-brand p {
    max-width: 330px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    margin: 20px 0;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-contact a {
    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 13px;
}

.footer-contact a:hover {
    color: var(--rp-white);
}

.footer-contact i {
    color: #c9a56c;
}

.footer-title {
    color: var(--rp-white);

    font-size: 14px;

    margin-bottom: 20px;
}

.footer-links {
    list-style: none;

    padding: 0;
    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;

    transition: var(--rp-transition);
}

.footer-links a:hover {
    color: var(--rp-white);

    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 11px;
}

.footer-social {
    display: flex;

    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    transition: var(--rp-transition);
}

.footer-social a:hover {
    color: var(--rp-white);

    border-color: rgba(255, 255, 255, 0.4);
}
