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

:root {
    /* Divine Color Palette */
    --saffron: #FF9933;
    --saffron-light: #FFB366;
    --saffron-dark: #E68929;
    --sky-blue: #87CEEB;
    --sky-blue-light: #B0E0E6;
    --sky-blue-dark: #6BBDE8;
    --forest-green: #228B22;
    --forest-green-light: #32CD32;
    --forest-green-dark: #006400;
    --pure-white: #FFFFFF;
    --cream: #FFF8DC;
    --gold: #FFD700;
    --deep-gold: #B8860B;
    --text-dark: #2C3E50;
    --text-light: #5D6D7E;
    --text-muted: #95A5A6;
    --border-color: rgba(255, 153, 51, 0.2);
    --shadow-light: rgba(255, 153, 51, 0.15);
    --shadow-medium: rgba(255, 153, 51, 0.25);
    --shadow-deep: rgba(255, 153, 51, 0.35);
    
    /* Gradients */
    --gradient-divine: linear-gradient(135deg, var(--saffron-light) 0%, var(--sky-blue-light) 50%, var(--cream) 100%);
    --gradient-hero: linear-gradient(135deg, var(--forest-green) 0%, var(--sky-blue) 50%, var(--saffron) 100%);
    --gradient-card: linear-gradient(145deg, var(--pure-white) 0%, var(--cream) 100%);
    --gradient-glow: linear-gradient(45deg, var(--saffron), var(--gold), var(--sky-blue), var(--forest-green));
    --gradient-shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-divine);
    min-height: 100vh;
}

.cinzel {
    font-family: 'Cinzel', serif;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="divine-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FFFFFF" opacity="0.1"/><path d="M10,5 L12,8 L15,8 L12.5,10.5 L13.5,14 L10,12 L6.5,14 L7.5,10.5 L5,8 L8,8 Z" fill="%23FFD700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23divine-pattern)"/></svg>');
    animation: float 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-ornament {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Main Content */
.main {
    margin-top: 0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 50px var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-glow);
    border-radius: 25px 25px 0 0;
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: var(--pure-white);
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
    transform: translateY(-2px);
}

.form-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.form-input:focus + .form-focus-border,
.form-select:focus + .form-focus-border,
.form-textarea:focus + .form-focus-border {
    width: 100%;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FF9933" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    appearance: none;
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--pure-white);
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--saffron);
    border-color: var(--saffron);
}

.form-checkbox:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
    color: var(--text-light);
}

.terms-link {
    color: var(--saffron);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    background: var(--gradient-glow);
    background-size: 300% 300%;
    color: var(--pure-white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    animation: gradientShift 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

/* Contact Info Container */
.contact-info-container {
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 50px var(--shadow-light);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Social Links */
.social-links {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.social-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--pure-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--saffron);
    border-color: var(--saffron);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-light);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-glow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 1rem;
}

.map-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-light);
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
    background: var(--gradient-glow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--gradient-card);
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-glow);
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
    padding: 1.5rem 2rem;
    text-align: center;
}

.modal-title {
    color: var(--pure-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.modal-close-btn {
    background: var(--saffron);
    color: var(--pure-white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--saffron-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

/* Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-container {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .social-buttons {
        justify-content: center;
    }
}
