/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    --primary-blue: #6B9FE8;
    --secondary-purple: #E8B4E8;
    --gradient: linear-gradient(135deg, #6B9FE8 0%, #C4A7E7 50%, #E8B4E8 100%);
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: rgba(255, 255, 255, 0.95);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    --font-heading: 'Abhaya Libre', serif;
    --font-body: 'Poppins', sans-serif;
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(107, 159, 232, 0.1);
    color: var(--primary-blue);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    animation: float 20s ease-in-out infinite;
}

.cloud-1 {
    width: 150px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-2 {
    width: 200px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.cloud-3 {
    width: 120px;
    height: 50px;
    bottom: 30%;
    left: 5%;
    animation-delay: 10s;
}

.dove {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 0% 50%, 30% 50%, 30% 100%, 70% 100%, 70% 50%, 100% 50%);
    animation: fly 15s ease-in-out infinite;
}

.dove-1 {
    top: 15%;
    right: 20%;
    animation-delay: 2s;
}

.dove-2 {
    bottom: 25%;
    right: 10%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fly {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -20px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-service-time {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 500px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-text {
    font-size: 1.25rem;
    line-height: 1.6;
}

.service-text strong {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    text-align: center;
    justify-content: center;
}

.btn-icon {
    font-size: 1.3rem;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   First Time Visitor Section
   ========================================================================== */

.first-time {
    padding: 80px 20px;
    background: var(--white);
}

.first-time .container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.expectation-card {
    background: linear-gradient(135deg, rgba(107, 159, 232, 0.1) 0%, rgba(232, 180, 232, 0.1) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.expectation-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.expectation-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.expectation-card p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */

.schedule {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(107, 159, 232, 0.05) 0%, rgba(232, 180, 232, 0.05) 100%);
}

.schedule-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.schedule-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.schedule-details h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.schedule-day {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.schedule-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.schedule-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 80px 20px;
    background: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 800px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(107, 159, 232, 0.1) 0%, rgba(232, 180, 232, 0.1) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-link {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.phone-number {
    font-size: 1.4rem;
}

.contact-link:hover,
.contact-link:focus {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==========================================================================
   Map Section
   ========================================================================== */

.map-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(107, 159, 232, 0.05) 0%, rgba(232, 180, 232, 0.05) 100%);
}

.map-address {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 159, 232, 0.1);
    color: var(--text-dark);
    font-size: 1.2rem;
}

.map-cta {
    text-align: center;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, #4a7ab8 0%, #8e6ba8 50%, #c490c4 100%);
    color: var(--text-light);
    padding: 3rem 20px 1.5rem;
}

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

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-info a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-links a:hover {
    text-decoration: underline;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==========================================================================
   Responsive Design - Mobile First
   ========================================================================== */

/* Mobile (default styles above) */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .first-time {
        padding: 60px 15px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .schedule-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .expectations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .expectation-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .hero-cta,
    .contact-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 350px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .expectations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-secondary {
        background: var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
