/* Contact page specific styles */

.contact-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 80vh;
    padding: 3rem 1rem 1rem 1rem;
    background-color: white;
}

/* Contact Form Styles */
.contact-container {
    margin: 0;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
}

.contact-left {
    max-width: 600px;
}

.contact-right {
    max-width: 600px;
}

.contact-header {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-header p {
    color: #000000;
    font-style: italic;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

#session_type {
    width: 100%;
    background: white;
    color: #333;
    font-weight: 500;
    border: 2px solid #ddd;
    border-radius: 0;
    padding: 0.8rem;
    font-family: "Nunito", Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background: white
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M0 0l5 5 5-5z" fill="%23333"/></svg>')
        no-repeat right 1rem center;
    background-size: 10px 10px;
    padding-right: 2.5rem;
}

#session_type:focus {
    outline: none;
    border-color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    font-family: "Nunito", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-group select {
    cursor: pointer;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: black;
    color: white;
    border: 2px solid black;
    border-radius: 4px;
    font-family: "Nunito", Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.privacy-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Session Info Styles */
.session-info {
    position: relative;
}

.session-details {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.session-details.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.session-details h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.session-description {
    margin-bottom: 2rem;
}

.session-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.session-specs {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: #333;
    font-weight: 600;
    flex: 0 0 auto;
    margin-right: 1rem;
}

.session-gallery {
    margin-top: 1rem;
}

.gallery-grid {
    width: 100%;
}

.gallery-grid .grid-sizer,
.gallery-grid .grid-item {
    width: 48%;
}

.gallery-grid .grid-item {
    margin-bottom: 8px;
}

.gallery-grid .grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-grid .grid-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Legacy contact box styles (if needed) */
.contact-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid #ddd;
}

.contact-box h2 {
    margin-bottom: 1rem;
    font-weight: normal;
}

.contact-box p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.5;
}

.contact-box .email-link {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: black;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-box .email-link:hover {
    background: #333;
}

.contact-box .extra-info {
    margin-top: 1rem;
    color: #555;
    font-size: 0.9rem;
}

/* Mobile responsive styles for contact page */
@media (orientation: portrait) {
    .contact-section {
        padding: 2rem 1rem 1rem 1rem;
    }

    .contact-container {
        padding: 1rem;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-left,
    .contact-right {
        max-width: 100%;
    }

    .contact-header {
        text-align: center;
    }

    .contact-header h1 {
        font-size: 3.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .session-details h2 {
        font-size: 2.5rem;
    }

    .gallery-grid .grid-sizer,
    .gallery-grid .grid-item {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
    }
}
