/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    /* Colors derived from the logo */
    --color-bg-main: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-accent: #d98d8f;
    /* Dusty rose from logo */
    --color-accent-light: #f5b5b9;
    --color-text-main: #fcfcfc;
    --color-text-muted: #a0a0a0;
    --color-border: rgba(217, 141, 143, 0.3);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --max-width: 1400px;

    /* WhatsApp Green for buttons */
    --color-whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: none !important;
    /* Strict enforcement of no box-shadow */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Brand Accent (Logo Motif) */
.brand-accent {
    display: block;
    margin: 2rem auto;
    width: 60px;
    height: auto;
    filter: sepia(1) saturate(5) hue-rotate(-20deg) brightness(0.8); /* Match rose gold accent color */
    opacity: 0.8;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   UTILITIES & TYPOGRAPHY
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-accent);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
}

.section-title--left {
    text-align: left;
}

.section-title--left::after {
    margin-left: 0;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
}

.btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-main);
}

.btn--whatsapp {
    border-color: var(--color-whatsapp);
    color: var(--color-whatsapp);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
}

.btn--whatsapp:hover {
    background: var(--color-whatsapp);
    color: #fff;
}

/* ==========================================================================
   HEADER (BEM Style)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: var(--spacing-sm) 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo-img {
    height: 50px;
    /* Adjust based on your logo proportions */
    width: auto;
    transition: height 0.3s ease;
}

.header--scrolled .header__logo-img {
    height: 40px;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    gap: var(--spacing-md);
}

.header__menu-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.header__menu-link:hover {
    color: var(--color-accent);
}

.header__menu-link:hover::after {
    width: 100%;
}

/* Active Link State */
.header__menu-item.active .header__menu-link {
    color: var(--color-accent);
}
.header__menu-item.active .header__menu-link::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
}

.header__toggle-bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* ==========================================================================
   FOOTER (BEM Style)
   ========================================================================== */
.footer {
    background-color: #050505;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer__logo {
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.footer__logo img {
    height: 60px;
    margin: 0 auto;
}

.footer__text {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 0.9rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: color 0.3s ease;
}

.footer__contact-item:hover {
    color: var(--color-accent);
}

.footer__contact-item i {
    color: var(--color-accent);
    width: 20px;
}

.footer__socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer__social-link {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* ==========================================================================
   PAGE HERO (Generic)
   ========================================================================== */
.page-hero {
    height: 50vh;
    min-height: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-secondary);
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-md);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.page-hero__subtitle {
    font-size: 1rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.products-section {
    padding: var(--spacing-xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg) var(--spacing-md);
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    padding: 1rem;
    transition: border-color 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    border-color: var(--color-border);
}

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    background-color: var(--color-bg-secondary);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.03);
}

.product-card__info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-card__price {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.product-card__actions {
    margin-top: auto;
}

/* USP Section */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.usp-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.usp-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.usp-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.usp-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.mv-card {
    padding: 3rem;
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-accent);
    position: relative;
}

.mv-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -6px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-vision { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; text-align: left !important; padding-left: 50px; }
    .timeline-dot { left: 14px !important; }
}

@media (max-width: 768px) {
    .header__toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg-secondary);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header__nav--active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .header__toggle--active .header__toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--color-accent);
    }

    .header__toggle--active .header__toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .header__toggle--active .header__toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--color-accent);
    }
}

/* ==========================================================================
   SWIPER OVERRIDES
   ========================================================================== */
.swiper-container { width: 100%; padding: 50px 0; }
.swiper-button-next, .swiper-button-prev { color: var(--color-accent) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.5rem !important; }
.swiper-pagination-bullet { background: var(--color-accent) !important; }
.card-slide { padding: 0.5rem; }

/* Main padding override for layout */
main { padding-top: 70px; }
