/* CSS Variables */
:root {
    --primary-color: #530014; /* Deep Burgundy from original site */
    --primary-dark: #3a000e;
    --secondary-color: #d4af37; /* Gold accent */
    --secondary-dark: #bfa035;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --whatsapp: #25D366;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(83, 0, 20, 0.2);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for floating bar */
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(83, 0, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    width: 100%;
    padding: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(83, 0, 20, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1a0006);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    text-decoration: underline;
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
}

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

.logo img {
    height: 45px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    font-weight: 500;
    font-size: 15px;
    position: relative;
    color: var(--text-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    color: var(--white);
}

.badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stat-text {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
}

/* Forms */
.hero-form-wrapper {
    flex: 0.8;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 400px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-logo {
    height: 45px;
    margin: 0 auto 15px;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background-color: rgba(255,255,255,0.8);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(83, 0, 20, 0.1);
    background-color: #fff;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: block;
    width: 100%;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin-top: 15px;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin: 15px auto 0;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.feature-list {
    margin-top: 25px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--primary-dark);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

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

/* Plan Cards with Overlay CTAs */
.plan-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.plan-img-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-img-wrapper img {
    transition: transform 0.5s ease;
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(83, 0, 20, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

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

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

.plan-info {
    padding: 25px;
    text-align: center;
    background: var(--white);
    z-index: 2;
    position: relative;
}

.plan-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

/* Pricing Table */
.pricing-table-wrapper {
    margin-top: 40px;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-table th, .pricing-table td {
    padding: 20px 25px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-table tr:hover {
    background-color: var(--bg-light);
}

.price-request {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Gallery */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(83,0,20,0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.gallery-item:hover::before, .gallery-item:hover::after {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 50px 0 120px; /* Extra padding for floating bar */
}

.footer-logo {
    height: 50px;
    margin: 0 auto 20px;
    filter: brightness(0) invert(1);
}

.copyright {
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Floating Quick Actions Bar */
.floating-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    gap: 5px;
    flex: 1;
    border-right: 1px solid var(--border-color);
    transition: var(--transition);
}

.action-btn:last-child {
    border-right: none;
}

.action-btn:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.action-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.whatsapp-btn {
    color: var(--whatsapp);
}

.whatsapp-btn:hover {
    color: #128C7E;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: zoom-out;
    backdrop-filter: blur(5px);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    border-radius: 4px;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-container { flex-direction: column; }
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }
    .hero-stats {
        justify-content: center;
        margin-bottom: 30px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero p { margin: 0 auto 30px; }
    .hero-form-wrapper { margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(255, 255, 255, 0.98);
        transition: var(--transition);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav.active { left: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-list a { font-size: 1.5rem; }
    
    .header-actions { display: none; }
    .mobile-toggle { display: flex; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .stat-num { font-size: 2.2rem; }
    .hero-cta-group { flex-direction: column; }
    
    .action-text { display: none; } /* Hide text on mobile for floating bar, show only icons */
    .action-btn { font-size: 1.5rem; padding: 5px 0; }
}
