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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav .logo span {
    color: #4ecdc4;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4ecdc4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero h1 span {
    color: #4ecdc4;
}

.hero .tagline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #4ecdc4;
    color: #1a365d;
}

.btn-primary:hover {
    background: #3dbdb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a365d;
}

/* Image Section */
.image-section {
    padding: 5rem 2rem;
    background: #fff;
}

.image-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.image-container h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.image-container .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.property-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.5rem;
    color: #1a365d;
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

.about-text {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* “Our process” — six responsive sample photos (two rows × three on wide screens) */
.process-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1080px;
    margin: 2.5rem auto 0;
    padding: 0 0.5rem;
}

.process-photo-card {
    margin: 0;
    position: relative;
    border: 2px solid #1a365d;
    border-radius: 14px;
    overflow: hidden;
    background: #e8eef5;
    box-shadow: 0 6px 24px rgba(26, 54, 93, 0.12);
}

.process-photo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a365d;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.process-photo-frame {
    aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
}

.process-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    cursor: pointer;
}

.process-photo-frame img.is-missing {
    width: 100%;
    height: 100%;
    min-height: 12rem;
    background: linear-gradient(145deg, #dde5ee 0%, #cfd9e6 100%);
    object-fit: none;
    cursor: default;
}

/* Full-size pop-out for process photos (click thumbnail) */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.photo-lightbox[hidden] {
    display: none !important;
}

.photo-lightbox__img {
    width: 60vw;
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    object-fit: contain;
    cursor: default;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.photo-lightbox__close {
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 10001;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a365d;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.photo-lightbox__close:hover {
    background: #fff;
}

.photo-lightbox__hint {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .process-photo-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    min-height: 60vh;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-mode-toggle {
    border: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.form-mode-label {
    display: block;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.form-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mode-option {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #1a365d;
    transition: border-color 0.2s, background 0.2s;
}

.mode-option--active {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.12);
}

.mode-option input {
    accent-color: #1a365d;
}

.form-mode-hint {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.optional {
    font-weight: 500;
    color: #888;
    font-size: 0.9em;
}

.beta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #1a365d;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.order-fields {
    padding: 1.25rem 0 0.5rem;
    margin: 0 0 0.5rem;
    border-top: 2px dashed #e0e0e0;
}

.order-fields.is-hidden {
    display: none;
}

.order-fields-intro {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.input-readonly {
    background: #f4f6f9;
    color: #333;
    cursor: default;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-status--ok {
    color: #0d7a6e;
}

.form-status--err {
    color: #c0392b;
}

.contact h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.contact .subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 540px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

/* Footer */
footer {
    background: #0d1f33;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

footer p {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}