
/* 
   Aristocarry - Premium Design System
   No direct tag styling (avoiding *, html, body, etc. for styles)
   Colors: 
   - Cocoa: #2D1B14
   - Latte: #FDFBF7
   - Rose: #E9B2B2
   - Gold: #C5A059
*/

.site-body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #FDFBF7;
    color: #2D1B14;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.main-content {
    width: 100%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2D1B14;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Playfair Display', serif;
    color: #C5A059;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loader-bar-container {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar {
    width: 0;
    height: 100%;
    background-color: #C5A059;
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% { transform: translateX(-100%); width: 0; }
    50% { transform: translateX(0); width: 100%; }
    100% { transform: translateX(100%); width: 0; }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Top Ad Bar */
.top-ad-bar {
    background-color: #F3EFE9;
    color: #6D5B52;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #E5E0D8;
    position: relative;
    z-index: 100;
}

/* Header */
.main-header {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid rgba(45, 27, 20, 0.05);
    transition: transform 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D1B14;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #2D1B14;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C5A059;
    transition: width 0.3s ease;
}

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

.btn-primary {
    background-color: #2D1B14;
    color: #FFFFFF;
    padding: 14px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    border: 1px solid #2D1B14;
}

.btn-primary:hover {
    background-color: transparent;
    color: #2D1B14;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 27, 20, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 14px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border: 1px solid #FFFFFF;
    transition: all 0.4s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #2D1B14;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: #2D1B14;
    margin: 5px 0;
    transition: 0.4s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 27, 20, 0.5);
    z-index: 1000;
    transition: right 0.5s ease;
    visibility: hidden;
}

.mobile-nav-overlay.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: #FDFBF7;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.mobile-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2D1B14;
}

.mobile-menu-close {
    cursor: pointer;
    font-size: 2.5rem;
    color: #2D1B14;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 30px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #2D1B14;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-nav-footer {
    margin-top: auto;
}

.mobile-cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    padding: 80px 40px;
    background-color: #FDFBF7;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-text-content {
    flex: 1;
}

.sub-heading {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: #C5A059;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #2D1B14;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6D5B52;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-price-tag {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2D1B14;
    margin-bottom: 40px;
    font-weight: 700;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    animation: fadeInUp 1.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

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

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

.item-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6D5B52;
}

/* Collection Grid */
.collection-section {
    background-color: #FFFFFF;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    transition: transform 0.4s ease;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 27, 20, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.product-card:hover .card-img {
    transform: scale(1.05);
}

.product-card-info {
    padding: 25px 0;
    text-align: center;
}

.product-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-card-price {
    color: #C5A059;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Similar Products Section */
.similar-products-section {
    background-color: #FDFBF7;
    border-top: 1px solid rgba(45, 27, 20, 0.05);
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .similar-grid { grid-template-columns: 1fr; }
    .collection-grid { grid-template-columns: 1fr; }
}

/* About Section */
.about-section {
    background-color: #F9F4EE;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    box-shadow: 40px 40px 0 #E9B2B2;
}

.about-text {
    flex: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-desc {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #6D5B52;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.feature-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #C5A059;
}

/* Why Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 40px;
    background-color: #FFFFFF;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.benefit-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.benefit-text {
    color: #6D5B52;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background-color: #2D1B14;
    color: #FFFFFF;
}

.testimonials-section .section-title {
    color: #FFFFFF;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: #C5A059;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E0D8;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2D1B14;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 25px;
}

/* CTA Banner */
.cta-banner {
    background-image: linear-gradient(rgba(45, 27, 20, 0.7), rgba(45, 27, 20, 0.7)), url('https://www.rouje.com/cdn/shop/files/SAC_90_MARRON_0312.jpg?v=1770650940');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 40px;
    text-align: center;
    color: #FFFFFF;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
.main-footer {
    background-color: #FDFBF7;
    padding: 100px 40px 40px;
    border-top: 1px solid #E5E0D8;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-tagline {
    color: #6D5B52;
}

.footer-heading {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-info {
    font-size: 0.95rem;
    color: #6D5B52;
    margin-bottom: 10px;
}

.footer-info a {
    color: #2D1B14;
    text-decoration: none;
}

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

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a {
    text-decoration: none;
    color: #6D5B52;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #C5A059;
}

.footer-section-block {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(45, 27, 20, 0.1);
}

.footer-text {
    line-height: 1.8;
    color: #6D5B52;
    max-width: 800px;
}

.footer-ad-note {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(45, 27, 20, 0.1);
    font-size: 0.8rem;
    color: #6D5B52;
    text-align: center;
}

.footer-important-notice {
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2D1B14;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 40px;
    text-align: center;
    border-top: 1px solid rgba(45, 27, 20, 0.05);
}

.copyright {
    font-size: 0.85rem;
    color: #999;
}

/* Cookie Popup */
.cookie-overlay {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 400px;
    background-color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(45, 27, 20, 0.15);
    z-index: 2000;
    padding: 30px;
    border-left: 4px solid #C5A059;
    transform: translateY(200%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-overlay.active {
    transform: translateY(0);
}

.cookie-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.cookie-text {
    font-size: 0.9rem;
    color: #6D5B52;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container { padding: 15px 25px; }
    .hero-title { font-size: 3rem; }
    .about-grid { flex-direction: column; gap: 50px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .desktop-nav, .header-cta-wrapper { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero-image-wrapper { order: -1; }
    .hero-title { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .cookie-overlay { left: 10px; right: 10px; width: auto; bottom: 10px; }
}

/* Legal Modals */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 27, 20, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-content {
    background-color: #FDFBF7;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    padding: 60px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.legal-modal-overlay.active .legal-modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: #2D1B14;
    cursor: pointer;
    line-height: 1;
}

.modal-body-text {
    line-height: 1.8;
    color: #6D5B52;
    margin-top: 30px;
}

.modal-body-text p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .legal-modal-content {
        padding: 40px 25px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2.2rem; }
}

/* Product Detail Page Styles */
.product-detail-section {
    padding-top: 60px;
    background-color: #FDFBF7;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.product-images-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.thumb-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumb-img:hover {
    opacity: 0.8;
}

.product-title-detail {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2D1B14;
}

.product-price-detail {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #C5A059;
    font-weight: 700;
    margin-bottom: 30px;
}

.product-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6D5B52;
    margin-bottom: 40px;
}

.product-specs-block {
    margin-bottom: 40px;
}

.specs-heading {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(45, 27, 20, 0.1);
    padding-bottom: 10px;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #6D5B52;
    font-size: 0.95rem;
}

.specs-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #C5A059;
}

.purchase-action-block {
    margin-top: 60px;
    padding: 40px;
    background-color: #F9F4EE;
    border-radius: 4px;
}

.product-buy-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 20px 0;
    font-size: 1rem;
}

.shipping-info {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
}

.detail-story-section {
    background-color: #FFFFFF;
}

.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    .product-grid { gap: 40px; }
    .product-title-detail { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-info-column { margin-top: 40px; }
}
