/* --- Variables & Reset --- */
:root {
    --primary-color: #0f1712; 
    --accent-color: #c9a227;  
    --text-dark: #121a15;
    --text-light: #f4f6f4;
    --bg-dark: #070a08; /* Dark theme base */
    --whatsapp-color: #25D366;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-family: 'Montserrat', sans-serif; overflow-x: hidden; }

body { color: var(--text-light); line-height: 1.7; background-color: var(--bg-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
h1, h2, h3, h4, .logo { font-family: 'Cinzel', serif; }

.section-title { font-size: 2.8rem; color: var(--accent-color); margin-bottom: 0.5rem; font-weight: 700; }

.text-light { color: var(--text-light) !important; }

.title-underline { height: 3px; width: 70px; background-color: var(--accent-color); margin-bottom: 2.5rem; }

.center-underline { margin: 0 auto 3rem auto; }

.text-center { text-align: center; }

/* --- Section Formatting & Image Overlays --- */
.section { padding: 6rem 0; position: relative; overflow: hidden; }

.dark-bg { background-color: #0c120e; }

.section-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-attachment: fixed;
    z-index: 0; opacity: 0.15; /* Darkens the image dramatically to keep text legible */
}
.section .container { position: relative; z-index: 2; }

/* --- Buttons --- */
.btn {
    display: inline-block; padding: 15px 35px; border-radius: 50px; 
    text-decoration: none; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; transition: var(--transition); cursor: pointer; border: none; font-size: 0.95rem;
}
.btn-primary { background-color: var(--accent-color); color: var(--primary-color); }
.btn-primary:hover { background-color: #b38f1f; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(201, 162, 39, 0.3); }
.btn-outline { background-color: transparent; border: 2px solid var(--accent-color); color: var(--text-light); }
.btn-outline:hover { background-color: var(--accent-color); color: var(--primary-color); transform: translateY(-3px); }
.btn-full { width: 100%; }

.btn-whatsapp { 
    background-color: var(--whatsapp-color) !important; 
    color: white !important; 
    padding: 10px 25px; 
    border-radius: 30px; 
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.btn-whatsapp:hover { background-color: #1ebe57 !important; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

/* --- Navbar (Transparent & Fixed) --- */
.navbar {
    position: fixed; top: 0; width: 100%; background-color: transparent;
    z-index: 1000; transition: var(--transition); padding: 15px 0;
}
.navbar.scrolled {
    background-color: rgba(7, 10, 8, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 8px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--accent-color); text-decoration: none; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; transition: var(--transition); }
.nav-links a:hover { color: var(--accent-color); }
.mobile-menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--accent-color); }

/* --- Hero Section --- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(7,10,8,0.9) 0%, rgba(7,10,8,0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--text-light); max-width: 800px; padding: 80px 20px 0 20px; } /* Padding top ensures header won't cut it */
.hero-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--accent-color); text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; color: #e0e0e0; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; }

/* --- About Section --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.about-text p { color: #d1d5d2; margin-bottom: 1rem; }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card {
    background: rgba(18, 26, 21, 0.7); border-radius: 10px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05); border-bottom: 4px solid transparent; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-bottom: 4px solid var(--accent-color); background: rgba(18, 26, 21, 0.9); }
.service-card img { width: 100%; height: 250px; object-fit: cover; opacity: 0.9; transition: opacity 0.3s; }
.service-card:hover img { opacity: 1; }
.service-content { padding: 2rem; flex-grow: 1; }
.service-content h3 { color: var(--accent-color); margin-bottom: 1rem; font-size: 1.4rem; }
.service-content p { color: #b8bcb9; }

/* --- Testimonial Section --- */
.testimonial-container {
    background-color: rgba(18, 26, 21, 0.85); border-radius: 15px; padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); display: grid; grid-template-columns: 1fr 1fr; 
    gap: 3rem; align-items: center; border: 1px solid rgba(201, 162, 39, 0.15); backdrop-filter: blur(8px);
}
.testimonial-img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.quote-icon { font-size: 3rem; color: rgba(201, 162, 39, 0.3); margin-bottom: 1rem; display: block; }
.testimonial-text { font-size: 1.2rem; font-style: italic; color: #d1d5d2; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-name { color: var(--accent-color); font-size: 1.1rem; }

/* --- Contact Section --- */
.contact-bg {
    position: relative;
    background-image: url('images/Witch%20craft.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.contact-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 10, 8, 0.92); z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, 0.03); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); }
.contact-info { padding: 4rem; color: var(--text-light); }
.contact-info h3 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--accent-color); }
.contact-details { list-style: none; margin-top: 2.5rem; }
.contact-details li { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contact-details a { color: var(--text-light); text-decoration: none; }
.contact-details a:hover { color: var(--accent-color); }
.contact-details i { color: var(--accent-color); font-size: 1.3rem; }
.contact-form { padding: 4rem; display: flex; flex-direction: column; gap: 1.5rem; background-color: rgba(0,0,0,0.4); }
.contact-form input, .contact-form textarea { padding: 18px; border: 1px solid rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.05); color: white; border-radius: 5px; font-size: 1rem; font-family: 'Montserrat', sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-color); background-color: rgba(255,255,255,0.1); }

/* --- Floating WhatsApp CTA --- */
.fixed-whatsapp {
    position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp-color); color: white;
    width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    text-decoration: none; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; transition: var(--transition); font-size: 2.2rem;
}
.fixed-whatsapp:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }

/* --- Footer --- */
footer { background-color: #030504; color: #888; text-align: center; padding: 2.5rem; font-size: 0.9rem; }

/* --- Native Scroll Animations --- */
.animate-on-scroll { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
.fade-up { transform: translateY(40px); }
.fade-right { transform: translateX(-40px); }
.fade-left { transform: translateX(40px); }
.animate-on-scroll.visible { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .testimonial-container { grid-template-columns: 1fr; gap: 3rem; }
    .testimonial-container { padding: 3rem 2rem; }
    .hero-content h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background-color: rgba(7, 10, 8, 0.98); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
    .nav-links.active { max-height: 400px; border-top: 1px solid #222; }
    .nav-links a { padding: 20px; width: 100%; text-align: center; border-bottom: 1px solid #222; }
    .nav-btn { border-radius: 0; width: 100%; justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    .contact-info, .contact-form { padding: 2.5rem; }
}