/* ==========================================================================
   Premium Luxury Theme - Barcaffe
   ========================================================================== */
:root {
    /* Logo / Brand Colors */
    --brand-burgundy: #7A1A2B;
    --brand-green: #009246;
    --brand-red: #CE2B37;
    --brand-black: #111111;
    
    /* UI Colors */
    --bg-light: #FFFFFF;
    --bg-cream: #FAF9F6; /* Ivory cream for luxury feel */
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* ==========================================================================
   Logo (CSS Recreated)
   ========================================================================== */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.logo-top {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--brand-black);
    margin-bottom: 2px;
}

.logo-middle {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--brand-burgundy);
    margin-bottom: 5px;
}

.logo-flag {
    width: 100%;
    height: 3px;
    display: flex;
    margin-bottom: 5px;
}

.flag-g { background: var(--brand-green); flex: 1; }
.flag-w { background: #FFFFFF; flex: 1; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.flag-r { background: var(--brand-red); flex: 1; }

.logo-bottom {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-black);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--brand-burgundy);
    color: #fff;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
    background-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.nav-links a.btn {
    color: #fff;
    padding: 16px 36px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 1px;
    background-color: var(--brand-burgundy);
    transition: var(--transition);
}

.nav-links a.btn::after {
    display: none;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-burgundy); }
.nav-links a.btn:hover { color: var(--text-primary); }

.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--text-primary); }

/* ==========================================================================
   Page Headers
   ========================================================================== */
.page-header {
    margin-top: 90px;
    padding: 100px 0;
    background: var(--bg-cream);
    text-align: center;
}

.page-header h1 {
    font-size: 64px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.page-header h1 span { color: var(--brand-burgundy); font-style: italic; }
.page-header p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-top: 15px;
    font-family: var(--font-body);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   Hero Section (Parallax & Cinematic)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    background-image: url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

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

.hero-subtitle {
    color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-subtitle::before {
    content: ''; width: 40px; height: 1px; background: var(--brand-burgundy);
}

.hero-title {
    font-size: 90px;
    margin-bottom: 30px;
    color: var(--bg-light);
    line-height: 1;
}

.hero-title span { color: var(--brand-burgundy); font-style: italic; }

.hero-text {
    color: #e0e0e0;
    font-size: 20px;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 20px; margin-bottom: 30px; }

.hero-features { display: flex; gap: 20px; flex-wrap: wrap; color: #ffffff; font-size: 15px; font-weight: 300; opacity: 0.9; }
.hero-features span { display: flex; align-items: center; gap: 8px; }
.hero-features i { color: var(--brand-burgundy); }

/* ==========================================================================
   Standard Section
   ========================================================================== */
.section-padding { padding: 140px 0; }
.bg-cream { background: var(--bg-cream); }

/* ==========================================================================
   Content Layouts (Asymmetric & Overlapping)
   ========================================================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse .image-block { order: 2; }
.content-grid.reverse .text-block { order: 1; }

.badge {
    display: inline-block;
    color: var(--brand-burgundy);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.text-block h2 { font-size: 56px; margin-bottom: 30px; line-height: 1.1; }
.text-block h2 span { color: var(--brand-burgundy); font-style: italic; }

.text-block p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 17px;
    font-weight: 300;
}

.highlight-text {
    font-size: 24px !important;
    color: var(--text-primary) !important;
    font-style: italic;
    font-family: var(--font-heading);
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.highlight-text::before {
    content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--brand-burgundy);
}

.image-wrapper {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.image-wrapper:hover img { transform: scale(1.03); }

/* ==========================================================================
   History Grid (NEW - O Nas)
   ========================================================================== */
.history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    margin-top: 60px;
}

.history-card {
    position: relative;
    padding: 40px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: var(--transition);
    z-index: 1;
    overflow: hidden;
}

.history-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-10px);
    border-color: rgba(122, 26, 43, 0.1);
}

.history-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 180px;
    color: var(--brand-burgundy);
    opacity: 0.04;
    font-weight: 700;
    z-index: -1;
    transition: var(--transition);
    line-height: 1;
}

.history-card:hover .history-number {
    opacity: 0.08;
    transform: scale(1.1);
}

.history-year {
    color: var(--brand-burgundy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.history-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.history-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

.history-card.special-card {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.history-card.special-card .history-title {
    font-size: 42px;
    color: var(--brand-burgundy);
    font-style: italic;
    margin-bottom: 0;
}

.history-card.special-card .history-text {
    font-size: 24px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-top: 20px;
}

.history-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--brand-burgundy);
    border: none;
    box-shadow: var(--shadow-premium);
    padding: 60px 40px;
    border-radius: 8px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.history-card.full-width::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.history-card.full-width:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.history-card.full-width .history-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    font-style: italic;
    color: #fff;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}


/* ==========================================================================
   Features / Menu Grid (Luxury Cards)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 60px 40px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--brand-burgundy); transform: scaleX(0); transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-premium); transform: translateY(-5px); }

.card-icon {
    font-size: 40px;
    color: var(--brand-burgundy);
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-card h3 { font-size: 28px; margin-bottom: 20px; font-style: italic; }
.feature-card p { color: var(--text-secondary); font-size: 16px; font-weight: 300; }

/* ==========================================================================
   Testimonials Banner
   ========================================================================== */
.testimonials-banner {
    background: var(--brand-burgundy);
    padding: 100px 0;
    color: #fff;
    position: relative;
}

.testimonials-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.rating-box { text-align: center; min-width: 300px; }
.rating-box h2 { font-size: 72px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 10px;}
.rating-box i { color: #E9C46A; font-size: 40px; }
.rating-box p { font-family: var(--font-body); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.rating-box span { font-size: 14px; opacity: 0.7; }

.review-snippet {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 32px;
    font-style: italic;
    line-height: 1.4;
    position: relative;
}

.review-snippet::before {
    content: '"'; font-size: 120px; position: absolute; top: -30px; left: -50px; opacity: 0.1; font-family: var(--font-heading);
}

.review-snippet span {
    display: block; margin-top: 30px; font-family: var(--font-body); font-size: 14px; font-style: normal; letter-spacing: 2px; text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #111111;
    color: #fff;
    padding-top: 100px;
}

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

.brand-col .logo-top, .brand-col .logo-bottom { color: #fff; }
.brand-col .logo-middle { color: #fff; }

.brand-col p { color: #888; margin: 30px 0; font-size: 16px; font-weight: 300; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-links a:hover { background: #fff; color: #111; }

.footer-col h4 { font-size: 20px; margin-bottom: 30px; color: #fff; font-family: var(--font-heading); font-style: italic; }
.footer-col ul { padding: 0; list-style: none; }
.footer-col ul li { color: #888; margin-bottom: 20px; display: flex; gap: 15px; font-size: 15px; font-weight: 300; }
.footer-col ul li i { color: var(--brand-burgundy); margin-top: 5px; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #666; font-size: 13px; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { color: #fff; }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed; inset: 0; background: #fff; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease;
}
.loader-logo { animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .history-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 64px; }
    .content-grid { gap: 40px; }
    .text-block h2 { font-size: 42px; }
    .testimonials-banner .container { flex-direction: column; text-align: center; }
    .review-snippet::before { left: 0; top: -50px; text-align: center; width: 100%; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding-top: 190px; align-items: flex-start; }
    .hero-features { flex-direction: column; gap: 15px; }
    .history-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col ul li { justify-content: center; }
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: center; align-items: center;
        opacity: 0; visibility: hidden; transition: var(--transition);
    }
    .nav-links.active { opacity: 1; visibility: visible; }
    .hamburger { display: block; z-index: 1001; }
    .content-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
}

/* ==========================================================================
   Premium Lightbox
   ========================================================================== */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#lightbox.active img {
    transform: scale(1);
}

#lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100000;
}

#lightbox-close:hover {
    color: var(--brand-red);
}

.clickable-image {
    cursor: pointer;
}

/* ==========================================================================
   Reviews Carousel (Swiper)
   ========================================================================== */
.reviews-swiper {
    padding-bottom: 60px !important;
    margin-top: 40px;
}

.review-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.stars {
    color: #F4B400;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.review-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    position: relative;
}

.reviewer .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-burgundy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-body);
}

.reviewer .info {
    display: flex;
    flex-direction: column;
}

.reviewer .info strong {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
}

.reviewer .info span {
    font-size: 12px;
    color: #888;
}

.google-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #4285F4;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    background: var(--brand-burgundy) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--brand-burgundy) !important;
}


