@font-face {
    font-family: Cormorant Garamond;
    src: url(/CormorantGaramond.woff);
    font-display: swap;
}
*{
    padding: 0;
    margin: 0;
    --big: 5rem;
    --larger: 2.5rem;
    --large: 1.5rem;
    --normal: 1rem;
    --small: 0.75rem;
    font-family: Open Sans;
    font-family: Cormorant Garamond;
    scroll-behavior:smooth;
}
body{
    background-color: black;
    color: hsl(0, 0%, 80%);
}
.logo{
    width:15%;
    height: auto;
}
/* Base form styles */


.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 90vw;
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Phone number field fixes */
.phone-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.phone-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.phone-prefix {
    position: absolute;
    left: 12px;
    /* padding-top: 1px; */
    /* color: #666; */
    color: black;
    font-size: 1rem;
    /* font-weight: bold; */
    z-index: 2;
    pointer-events: none;
}

.phone-input {
    width: 100%;
    padding-left: 50px !important;
    box-sizing: border-box;
}

/* Error message styling - fixed positioning */
.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    order: 2; /* Always comes after input */
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Input error state */
input.error, textarea.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.1);
    order: 1; /* Input comes before error */
}

/* Collapsible Section Base Styles */
.collapsible-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

.collapsible-section.active {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.1);
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease;
    user-select: none;
}

.collapsible-section.active .collapsible-header {
    background: #e7f1ff;
    border-bottom-color: #dee2e6;
}

.collapsible-header:hover {
    background: #e9ecef;
}

.collapsible-section.active .collapsible-header:hover {
    background: #d0e3ff;
}

.collapsible-label {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.collapsible-toggle {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: #666;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.collapsible-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.toggle-icon {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-weight: bold;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}


.collapsible-section.active .toggle-icon {
    transform: rotate(135deg);
    color: #007bff;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    /* transform: translateY(-10px); */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 0 16px;
}

.collapsible-section.active .collapsible-content {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px 16px;
}

/* Event Options */
.event-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}
.event-label{
    color: hwb(0 31% 69%);
}
.event-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.event-option:hover {
    border-color: #007bff;
    background: #f8faff;
}

.event-option input[type="radio"]:checked + .event-label {
    font-weight: 600;
    color: #007bff;
}

.event-option input[type="radio"] {
    margin: 0;
    accent-color: #007bff;
}
/* Event Requirements Styles */
.requirements-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.requirement-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: hwb(0 31% 69%);
}

.requirement-option:hover {
    border-color: #007bff;
    background: #f8faff;
}

.requirement-option input[type="checkbox"] {
    margin: 0;
    accent-color: #007bff;
} 

/* Keep existing catering-options for other sections if needed */
.catering-options {
    /* Your existing catering styles */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    color: hwb(0 31% 69%);
}

/* Responsive */
@media (max-width: 768px) {
    .requirements-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .requirements-options {
        grid-template-columns: 1fr;
    }
    
    .requirement-option {
        padding: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-options {
        grid-template-columns: 1fr;
    }
    
    .catering-options {
        grid-template-columns: 1fr;
    }
    
    .collapsible-content {
        padding: 0 14px;
    }
    
    .collapsible-section.active .collapsible-content {
        padding: 16px 14px;
    }
    
    .collapsible-header {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .collapsible-label {
        font-size: 0.95rem;
    }
    
    .event-option, .catering-option {
        padding: 10px;
    }
}

/* Textarea */
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

/* Submit button */
.submit-group {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn {
    padding: 12px 40px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}

/* Remove number spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        gap: 1.25rem;
        /* padding: 0 1rem; */
    }
    
    .datetime-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .event-options {
        grid-template-columns: 1fr;
    }
    
    .catering-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .phone-prefix {
        left: 10px;
    }
    
    .phone-input {
        padding-left: 40px !important;
    }
    
    .collapsible-header {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .form-grid {
        gap: 1rem;
    }
    
    .form-title {
        font-size: 1.1rem;
    }
    
    .field-label {
        font-size: 0.95rem;
    }
    
    input, textarea, select {
        padding: 10px !important;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px;
    }
    
    .collapsible-toggle {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Ensure all inputs have consistent styling */
input.wide, textarea.wide {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Field label */
.field-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #a8a7a7;
}
/* Success Modal Styles */
/* ========== SUCCESS MODAL FIX ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    
    /* CRITICAL: Use opacity and visibility instead of display */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
}

.modal-overlay.show {
    /* This is what makes it visible */
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}



.modal-header {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    color: #4CAF50;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.success-message {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.booking-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #4CAF50;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

#referenceId {
    color: #4CAF50;
    /* font-family: monospace; */
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
}

.next-steps {
    background: #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.next-steps p {
    margin-top: 0;
    color: #2e7d32;
    font-weight: 500;
}

.next-steps ol {
    margin: 10px 0 0 20px;
    padding: 0;
}

.next-steps li {
    margin-bottom: 8px;
    color: #555;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    border-top: 1px solid #eee;
}

.modal-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:not(.secondary) {
    background: #4CAF50;
    color: white;
}

.modal-btn:not(.secondary):hover {
    background: #45a049;
    transform: translateY(-2px);
}

.modal-btn.secondary {
    background: white;
    color: #333;
    border: 2px solid #ddd;
}

.modal-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

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



h1{
    font-size: var(--big);
    color: white;
    font-weight: 700;
}
h2{
    font-size: var(--large);
    color: white;
    font-weight: 500;
}
h3{
    color: white;
}
p{
    font-size: var(--large);
    font-weight: 400;
}
a{
    text-decoration: none;
    color: white;
}

li{
    list-style-type: none;
}
.container{
    display: grid;
    justify-items: center;
    margin: 1rem auto;
    padding: 0 2rem;
}
img{
    width: 100%;
    height: auto;
    border-radius: 1rem;
}
.floater{
    text-align: center;
    font-size: var(--larger);
}
.button-container{
    display: flex;
    gap: 1rem;
}
.btn{
    color: black;
    padding: 0.5rem;
    font-weight: 700 ;
    border-radius: 0.25rem;
    transition: 0.2s ease-in-out;
}
.btn:hover{
    background-color: white;
    color: black;
    scale: 0.9;
}
.hero{
    text-align: center;
}
.aboutus{
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
}
.two{
    background-color: hsl(0, 0%, 10%);
    height: 100%;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
}

.two h2{
    font-size: var(--larger);
}

.one{
    height: 100%;
}

.one img{
    height: 100%;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.services{
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 0 1rem;
    transition: 0.09s ease-in-out;
}
.card:hover{
    scale: 1.05;
}
.text-part .btn:hover{
    scale: 1;
}
.img-part img{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 100%;
}
.text-part{
    background-color: hsla(0, 0%, 25%, 0.448);
    text-align: left;
    line-height: 2rem;
    padding: 1rem;
}

.contactus{
    display: flex;
    flex-direction: column;
    /* max-width: 70%; */
}
.con-img-part img{
    height: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.con-text-part{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    font-size: var(--large);
    background-color: hwb(0 23% 77% / 0.338);
    padding: 1rem;
}

footer{
    /* align-items: center; */
    background-color:#555;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

.sicon{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background-color: #333;
    margin: 0.5rem 2rem;
    padding-right: 6rem;
}
.sicon img {
    width: 32px;
    height: 32px;
    padding: 0.25rem 2rem;
}

form{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.align-left{
    display: flex;
    flex-direction: column;
    text-align: left;
}
textarea{
    width: 100%;
}
.wide{
    width: 100%
}

@media (max-width: 970px) {
    .container{
        border-radius: 0;
        width: 100%; 
        padding: 0;
    }

    .services{
        grid-template-columns: 1fr;
    }
    .two{
        border-radius: 0;
    }
    .one img{
    height: 100%;
    border-radius: 0;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    }
    .aboutus{
        grid-template-columns: 1fr;
    }
    .heroimg{
        padding: 0;
        width: 100%;
    }
    .heroimg img{
        border-radius: 0;
    }
    .card{
        padding: 1rem 0;
    }
    .card:hover{
        scale: unset;
    }
    .logo{
        width: 40%;
    }
}
/* ========== NATIVE ZOOM GALLERY CSS - FIXED ========== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Gallery Modal - FIXED FOR NATIVE ZOOM */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-modal.show {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: auto;
}

/* FIXED: Image styles for native zoom */
.gallery-modal-image {
    /* REMOVED: max-width: none; and max-height: none; */
    /* Let the browser handle the image naturally */
    
    /* CRITICAL: Use initial values for native zoom */
    max-width: initial;
    max-height: initial;
    width: auto;
    height: auto;
    
    /* CRITICAL: Allow native zoom behaviors */
    /* REMOVED: touch-action: manipulation; - This was blocking zoom */
    touch-action: auto; /* Allow all touch actions including zoom */
    /* FIX: Enable text selection/zoom on iOS */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: default;
    
    /* Visual */
    opacity: 0;
    transition: opacity 0.3s ease;
    
    /* Allow scaling beyond viewport */
    transform-origin: center center;
}

/* Add loading indicator */
.gallery-modal-image.loading {
    opacity: 0;
}

.gallery-modal-image.loaded {
    opacity: 1;
}



.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    font-size: 28px;
    font-family: serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}


.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

/* Mobile adjustments - FIXED */
@media (max-width: 768px) {
    .gallery-modal {
        padding: 0;
    }
    
    .gallery-modal-content {
        width: 100%;
        height: 100%;
        padding: 0;
    }
    
    /* FIX: For mobile, let the image scale naturally */
    .gallery-modal-image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        
        /* CRITICAL: Allow double-tap and pinch zoom on mobile */
        touch-action: auto;
        -webkit-user-select: none;
        user-select: none;
        
        /* On iOS, ensure zoom works */
        -webkit-tap-highlight-color: transparent;
    }
}

/* Desktop adjustments - FIXED */
@media (min-width: 769px) {
    .gallery-modal-image {
        /* Allow image to exceed viewport for zooming */
        max-width: 95vw;
        max-height: 95vh;
        
        /* Ensure zoom cursor shows */
    }
    
}

/* Ensure the modal content doesn't block touch events */
.gallery-modal-content * {
    -webkit-tap-highlight-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .success-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    .button-container{
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95%;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 5px;
    }
    .sicon{
    padding: 0.5rem 0.25rem;
    margin: 0.25rem 0;
    }
    .sicon img {
    width: 16px !important;
    height: 16px !important;
    padding: 0.25rem 2rem;
}
}
.span-options{
    color: black;
    font-size: var(--normal);
}