/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors in HSL format */
    --primary: 262 80% 50%;
    --primary-glow: 266 85% 70%;
    --accent: 300 100% 75%;
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --border: 0 0% 89.8%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--muted)));
    
    /* Shadows */
    --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
    --shadow-glow: 0 0 40px hsl(var(--primary-glow) / 0.4);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: 0 0% 3.9%;
        --foreground: 0 0% 98%;
        --card: 0 0% 3.9%;
        --card-foreground: 0 0% 98%;
        --muted: 0 0% 14.9%;
        --muted-foreground: 0 0% 63.9%;
        --border: 0 0% 14.9%;
        --secondary: 0 0% 14.9%;
        --secondary-foreground: 0 0% 98%;
    }
}

body {
    font-family: var(--font-body);
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
    background-color: hsl(var(--muted));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-enter {
    animation: fadeIn 0.6s ease-out, scaleIn 0.4s ease-out;
}

.hover-scale {
    transition: transform 0.2s ease;
}

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: hsl(var(--foreground));
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-icon {
    position: relative;
}

.home-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: #ef4444;
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
}

.logo-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.nav-links a {
    text-decoration: none;
    color: hsl(var(--foreground));
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: hsl(var(--primary));
}

.call-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
}

.interactive-spotlight {
    background: radial-gradient(600px at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(120, 119, 198, 0.15), transparent 80%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        padding: 6rem 1rem;
    }
}

.hero-text h1 {
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 65ch;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
    margin-top: 2rem;
}

.hero-features li {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 768px) {
    .hero-image img {
        height: 420px;
    }
}

/* Section Styles */
.about-section, .services-section, .gallery-section, .contact-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .about-section, .services-section, .gallery-section, .contact-section {
        padding: 6rem 0;
    }
}

.section-header {
    max-width: 48rem;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: hsl(var(--muted-foreground));
}

.section-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--accent));
    margin-bottom: 0.5rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h2 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-text .description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.vision-mission {
    margin-bottom: 1.5rem;
}

.vision-mission h3 {
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.vision-mission p {
    color: hsl(var(--muted-foreground));
}

.about-buttons {
    display: flex;
    gap: 0.75rem;
}

.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 768px) {
    .about-image img {
        height: 420px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.02);
}

.service-card img {
    width: 100%;
    height: 11rem;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.service-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: hsl(var(--muted-foreground));
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.gallery-item img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery-item img {
        height: 11rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin-bottom: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    color: hsl(var(--primary));
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-item a {
    color: hsl(var(--primary));
    text-decoration: none;
    position: relative;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Footer */
.footer {
    margin-top: 3rem;
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-content p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-nav a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: hsl(var(--primary));
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: var(--transition-smooth);
    text-decoration: none;
}

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

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
    animation: scaleIn 0.3s ease;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-buttons {
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}