/* Services Page Specific Styles */

/* First Viewport Container */
.services-page .first-viewport {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.services-page .first-viewport .info-banner {
    flex-shrink: 0;
}

.services-page .first-viewport .class-hero {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Hero Section */
.services-page .class-hero {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.services-page .hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.services-page .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 200;
    color: #000000;
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 900px;
    width: 100%;
    animation: slideDown 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(-100px);
}

.services-page .hero-title .hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 20px;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-page .first-viewport {
        height: 100vh;
        max-height: 100vh;
    }
}

/* Main Content */
.services-content {
    background: #ffffff;
}

/* Service Sections */
.service-section {
    padding: 80px 20px;
}

/* Background Colors */
.bg-white {
    background: #ffffff;
}

.bg-grey {
    background: #fafafa;
}

.bg-cream {
    background: #fdfbf5;
}

/* Service Container */
.service-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Content Layout */
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 40px;
}

/* Image on LEFT, Content on RIGHT */
.service-content.layout-left {
    grid-template-columns: 1fr 1fr;
}

/* Content on LEFT, Image on RIGHT */
.service-content.layout-right {
    grid-template-columns: 1fr 1fr;
}

.service-content.layout-right .service-text {
    order: 1;
}

.service-content.layout-right .service-image {
    order: 2;
}

/* Service Image - White Card */
.service-image {
    position: relative;
    background: white;
    padding: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.service-image:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Image with Corner Frame */
.service-image img {
    width: 80%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
    position: relative;
}

/* Corner Frame Decoration */
.service-image::before,
.service-image::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-style: solid;
    border-color: #d4a574;
}

/* Top-left corner */
.service-image::before {
    top: calc(10% + 5px);
    left: calc(10% + 5px);
    border-width: 3px 0 0 3px;
}

/* Bottom-right corner */
.service-image::after {
    bottom: calc(10% + 5px);
    right: calc(10% + 5px);
    border-width: 0 3px 3px 0;
}

/* Service Text Content - White Card */
.service-text {
    padding: 40px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-text:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.service-text p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a;
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.service-features li i {
    color: #d4a574;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Service Pricing */
.service-pricing {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    color: #2c2c2c;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #d4a574;
    border-radius: 4px;
}

.service-pricing strong {
    color: #d4a574;
    font-weight: 600;
}

/* Service CTA Button */
.service-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #d4a574;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.service-btn:hover {
    background: #c19660;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-content,
    .service-content.layout-left,
    .service-content.layout-right {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }

    /* Force image above content on mobile for ALL sections */
    .service-image {
        order: 1 !important;
        padding: 15px;
    }

    .service-text {
        order: 2 !important;
        padding: 30px;
    }

    .service-image img {
        max-height: 300px;
    }

    .service-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 20px;
    }

    .service-image {
        padding: 12px;
    }

    .service-image img {
        max-height: 250px;
    }

    .service-text {
        padding: 25px;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 0.95rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .service-pricing {
        font-size: 1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .service-image {
        padding: 10px;
    }

    .service-text {
        padding: 20px;
    }

    .service-text h2 {
        font-size: 1.6rem;
    }

    .service-btn {
        width: 100%;
        text-align: center;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 20px;
    background: #ffffff;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-weight: 400;
}

.form-header p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.services-form {
    background: white;
    padding: 50px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    transition: border-color 0.3s ease;
    font-weight: 300;
}

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

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

.form-submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: #d4a574;
    color: white;
    border: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    margin-bottom: 20px;
}

.form-submit-btn:hover {
    background: #c19660;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.call-direct {
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.call-direct a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.call-direct a:hover {
    color: #c19660;
    text-decoration: underline;
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 80px 20px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-header p {
        font-size: 1rem;
    }

    .services-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .form-header h2 {
        font-size: 1.8rem;
    }

    .services-form {
        padding: 25px 15px;
    }

    .form-submit-btn {
        font-size: 1rem;
        padding: 15px 30px;
    }
}
