:root {
    --charcoal: #0f1113;
    --ivory: #FAF6F0;
    --gold: #C9A94B;
    --rose: #E6B7B7;
    --dark-gray: #1a1d21;
    --light-gray: #f5f5f5;
}

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

/* PREVENT HORIZONTAL SCROLL */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    font-family: 'Poppins', sans-serif;
    color: var(--charcoal);
    background-color: var(--ivory);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
}

.navbar.scrolled {
    background: rgba(15, 17, 19, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--ivory);
    position: relative;
}

.navbar-brand .brand-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.nav-link {
    color: var(--ivory) !important;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin: 0 1rem;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

/* ========================================
   HERO SECTION (DESKTOP DEFAULT)
======================================== */
.hero-section {
    min-height: 100vh; 
    width: 100%;
    position: relative;
    
    /* Desktop Image */
    background-image: linear-gradient(rgba(159, 178, 197, 0), rgba(15, 17, 19, 0.7)),
                      url('/assets/images/cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; 
    
    display: flex;
    align-items: center;
    padding: 120px 0 60px 0;
    overflow: hidden;
}
/*
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 19, 0.4);
    pointer-events: none;
}
*/
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-title {
    font-size: 5rem;
    color: var(--ivory);
    letter-spacing: 10px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 5px;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--ivory);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary-custom {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.9rem 2.5rem;
    border: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-primary-custom:hover {
    background: var(--ivory);
    color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 169, 75, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--ivory);
    padding: 0.9rem 2.5rem;
    border: 2px solid var(--ivory);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-outline-custom:hover {
    background: var(--ivory);
    color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 246, 240, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--gold);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   GENERAL SECTIONS
======================================== */
.section-title {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--charcoal);
    opacity: 0.7;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
}

.title-divider.left {
    margin: 1rem 0;
}

.featured-section {
    background: var(--ivory);
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.carousel-item {
    padding: 2rem 0;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-content {
    padding: 2rem;
}

.featured-title {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.featured-notes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.note-badge {
    background: rgba(201, 169, 75, 0.2);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--gold);
}

.featured-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--gold);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-indicators button {
    background-color: var(--gold);
}

/* ========================================
   ABOUT SECTION (UPDATED)
======================================== */
.about-preview {
    /* PC View: Black Background */
    background: #000000;
    color: var(--ivory);
    padding: 5rem 0;
}

/* Force text inside About section to be light on the black background */
.about-preview .section-title,
.about-preview .section-subtitle,
.about-preview .section-text,
.about-preview p,
.about-preview h1, 
.about-preview h2, 
.about-preview h3, 
.about-preview h4 {
    color: var(--ivory) !important;
}

.rounded-custom {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 2rem;
}

.section-text {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   ABOUT PAGE STYLING
======================================== */
/* PC: Black background with light text */
.about-story,
.values-section {
    background: #000000;
    color: var(--ivory);
}

.about-story .section-title,
.about-story .section-text,
.about-story p,
.values-section .section-title,
.values-section .section-subtitle,
.values-section .value-title,
.values-section .value-text {
    color: var(--ivory) !important;
}

.about-story .title-divider {
    background: var(--gold);
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--charcoal), var(--dark-gray));
    padding: 5rem 0;
}

.newsletter-form .input-group {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.newsletter-form .form-control {
    padding: 1rem 1.5rem;
    border: none;
    background: rgba(250, 246, 240, 0.1);
    color: var(--ivory);
    border-radius: 0;
}

.newsletter-form .form-control::placeholder {
    color: rgba(250, 246, 240, 0.6);
}

.newsletter-form .form-control:focus {
    background: rgba(250, 246, 240, 0.15);
    color: var(--ivory);
    box-shadow: none;
    border: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--charcoal);
    padding: 1rem 2rem;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-gold:hover {
    background: var(--ivory);
    color: var(--charcoal);
    transform: scale(1.05);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--charcoal);
    color: var(--ivory);
    padding: 4rem 0;
    width: 100%;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(250, 246, 240, 0.7);
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 75, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--charcoal);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(250, 246, 240, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    color: rgba(250, 246, 240, 0.7);
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--gold);
    width: 20px;
}

.footer-divider {
    border-color: rgba(201, 169, 75, 0.2);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(250, 246, 240, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   INNER PAGES
======================================== */
.page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--charcoal), var(--dark-gray));
    text-align: center;
    width: 100%;
}

.page-title {
    font-size: 4rem;
    color: var(--ivory);
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.value-card {
    padding: 3rem 2rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.value-text {
    color: var(--ivory);
    opacity: 0.8;
}

.cta-section {
    background: linear-gradient(135deg, var(--charcoal), var(--dark-gray));
    padding: 5rem 0;
}

.product-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
}

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

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-overlay {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.8rem 2rem;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-overlay:hover {
    background: var(--ivory);
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-notes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.note-badge-small {
    background: rgba(201, 169, 75, 0.15);
    color: var(--charcoal);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(201, 169, 75, 0.3);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
}

.filter-bar {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-select,
.form-control {
    border: 1px solid rgba(15, 17, 19, 0.1);
    padding: 0.7rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 75, 0.2);
}

.gallery-grid {
    margin: 0 -0.5rem;
}

.gallery-grid > div {
    padding: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    text-align: center;
    color: var(--ivory);
}

.gallery-caption h4 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 1rem;
    color: var(--ivory);
}

.contact-info {
    padding: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 75, 0.1);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.info-content h5 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: var(--charcoal);
    opacity: 0.7;
    margin: 0;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.form-title {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    text-align: center;
}

.form-label {
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.map-section iframe {
    filter: grayscale(100%) contrast(90%);
    transition: filter 0.3s ease;
    width: 100%;
}

.map-section:hover iframe {
    filter: grayscale(0%) contrast(100%);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   MEDIA QUERIES (RESPONSIVENESS)
======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 4rem;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .featured-image img {
        height: 400px;
    }
}

/* --- MOBILE LANDSCAPE & PORTRAIT --- */
@media (max-width: 767px) {
    
    /* HOME PAGE MOBILE HERO */
    .hero-section {
        background-image: url('/assets/images/mobile-cover.jpg') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        
        height: auto;
        min-height: 100vh;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 !important;
        padding-bottom: 100px !important;
        overflow-x: hidden;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%) !important;
    }

    .hero-content {
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Show only buttons on mobile hero */
    .hero-title, 
    .hero-subtitle, 
    .hero-description {
        display: none !important;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .scroll-indicator {
        bottom: 20px;
    }
    
    /* ABOUT PAGE MOBILE - Use photo55 as background */
    .about-preview {
        background: background: linear-gradient(rgba(255, 255, 240, 0.75), rgba(255, 255, 255, 0.75));,
                    url('/assets/images/photo55.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .about-story {
        background: background: linear-gradient(rgba(255, 255, 240, 0.75), rgba(255, 255, 255, 0.75));
                    url('/assets/images/photo55.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .values-section {
        background: #000000 !important;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .featured-title {
        font-size: 2rem;
    }

    .featured-image img {
        height: 300px;
        margin-bottom: 1rem;
    }

    .product-image-wrapper {
        height: 250px;
    }
    
    .container {
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 575px) {
    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .btn-gold {
        width: 100%;
        margin-top: 1rem;
    }
}