/* Google Fonts: Inter & Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette: Red and Gold */
    --primary-red: #8B0000;
    --primary-red-light: #B22222;
    --primary-red-dark: #660000;
    
    --primary-gold: #D4AF37;
    --primary-gold-light: #F3E5AB;
    --primary-gold-dark: #AA8C2C;
    
    --bg-dark: #121212;
    --bg-light: #FAFAFA;
    --bg-card: #ffffff;
    
    --text-dark: #333333;
    --text-light: #F0F0F0;
    --text-muted: #777777;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-subtle: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(139, 0, 0, 0.15);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-red);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.gold-text {
    color: var(--primary-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-light), var(--primary-red));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    color: var(--text-light);
}

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

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

header.scrolled .logo {
    color: var(--primary-red);
    text-shadow: none;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

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

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

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 15s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(139, 0, 0, 0.4));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInDown 1s ease forwards;
}

.hero-content h1 {
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-content .btn {
    margin: 0 10px;
}

/* Page Header (Inner pages) */
.page-header {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin-bottom: 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1, .page-header h2 {
    color: var(--primary-gold);
}

.breadcrumb {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

.breadcrumb a {
    color: var(--primary-gold);
}

/* Sections Common */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* SEO Content Blocks */
.seo-content-block {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 40px;
}

.seo-content-block h2, .seo-content-block h3 {
    color: var(--primary-red-dark);
    margin-top: 30px;
}

.seo-content-block h2:first-child {
    margin-top: 0;
}

.seo-content-block p {
    text-align: justify;
}

.seo-content-block ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.seo-content-block ul li {
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.seo-content-block ul li::before {
    content: '✓';
    color: var(--primary-gold);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

/* Features/Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--primary-gold);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.gallery-overlay span {
    color: var(--text-light);
    font-size: 2rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: var(--text-light);
    padding: 50px;
}

.contact-info h3 {
    color: var(--primary-gold);
}

.contact-info p {
    color: var(--text-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    padding: 50px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow-subtle);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col p {
    color: #aaaaaa;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomOut {
    from { transform: scale(1.2); }
    to { transform: scale(1); }
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Section for AEO */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-red-dark);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-dark);
        text-shadow: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
