/* Brand Colors */
:root {
    --navy: #1F3A4D;
    --peak-blue: #2F5F7A;
    --stone-white: #F4F1EC;
    --slate-gray: #6B7280;
    --charcoal: #2A2E32;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--charcoal);
    background-color: var(--stone-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

p {
    color: var(--slate-gray);
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Header */
.header {
    background-color: var(--stone-white);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(31, 58, 77, 0.1);
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.header-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    grid-column: 2;
}

.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.header-scrolled .logo {
    height: 40px;
}

.logo-image {
    display: block;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-full {
    max-height: 100px;
    width: auto;
    opacity: 1;
}

.logo-horizontal {
    max-height: 40px;
    width: auto;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.header-scrolled .logo-full {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.header-scrolled .logo-horizontal {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    grid-column: 2;
}

.contact-button {
    grid-column: 3;
    justify-self: end;
    padding: 0.75rem 1.5rem;
    background-color: var(--peak-blue);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease, padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.contact-button:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
    opacity: 1;
}

.header-scrolled .contact-button {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-container {
    display: flex;
    width: 100%;
    min-height: 60vh;
}

.hero-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.hero-repair {
    background-image: url('assets/homeimprovement_hero.jpg');
}

.hero-design {
    background-image: url('assets/design_hero.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(31, 58, 77, 0.3) 0%,
        rgba(31, 58, 77, 0.5) 40%,
        rgba(31, 58, 77, 0.5) 60%,
        rgba(31, 58, 77, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    max-width: 500px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    border-radius: 8px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 0, 0, 0.2);
}

.hero-subline {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--peak-blue);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-button:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
    opacity: 1;
}

/* Service Area Banner */
.service-area-banner {
    background-color: var(--navy);
    padding: 1rem 0;
    text-align: center;
}

.service-area-text {
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.service-area-text-inline {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    background-color: var(--stone-white);
}

.content-section-alt {
    background-color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
}

@media (min-width: 968px) {
    .content-grid {
        gap: 4rem;
    }
}

.content-grid > * {
    min-width: 0; /* Prevents grid items from overflowing */
}

.content-grid-reverse {
    direction: rtl;
}

.content-grid-reverse > * {
    direction: ltr;
}

.content-text {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    color: var(--charcoal);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--peak-blue);
    font-size: 1.5rem;
    line-height: 1;
}

.content-image {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

/* Swiper Gallery Styles */
.gallery-main {
    width: 100%;
    max-width: 100%;
    flex: 1;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.gallery-main .swiper-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.gallery-item {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

@media (min-width: 968px) {
    .gallery-item img {
        height: 320px;
    }
}

.gallery-item figcaption {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: var(--charcoal);
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 1.4;
    margin-top: -4px;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
}

/* Thumbnail Gallery */
.gallery-thumbs {
    width: 100%;
    height: 100px;
    padding: 0.5rem 0;
    background-color: var(--stone-white);
    border-top: 1px solid rgba(107, 114, 128, 0.1);
}

.gallery-thumbs .swiper-slide {
    width: 80px;
    height: 80px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 3px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-thumbs .swiper-slide:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--navy);
    box-shadow: 0 2px 8px rgba(31, 58, 77, 0.3);
}

.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Swiper Scrollbar */
.gallery-main .swiper-scrollbar {
    background: var(--stone-white);
    height: 8px;
    border-radius: 4px;
}

.gallery-main .swiper-scrollbar-drag {
    background: var(--peak-blue);
    border-radius: 4px;
}


/* Fallback for when images don't load */
.image-gallery::before {
    content: '';
    display: none;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--navy);
    color: white;
}

.contact-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-tagline {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-text {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.contact-details {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.contact-details a:hover {
    color: white;
    opacity: 1;
}

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

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

.form-group label {
    display: block;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.optional-label {
    font-weight: 400;
    text-transform: none;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: normal;
}

.phone-error {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    color: #ff6b6b;
    margin-top: 0.375rem;
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 2px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--peak-blue);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.photo-help-text {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.form-group .checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    cursor: pointer;
    accent-color: var(--peak-blue);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-text {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.submit-button {
    padding: 0.875rem 2rem;
    background-color: var(--peak-blue);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: var(--peak-blue);
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Photo Upload Styles */
.photo-upload-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.photo-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.photo-count {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.photo-button,
.camera-button {
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    border-radius: 2px;
}

.photo-button:hover:not(:disabled),
.camera-button:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: var(--peak-blue);
}

.photo-button-disabled,
.photo-button:disabled,
.camera-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.photo-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.photo-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.photo-upload-progress-bar {
    height: 100%;
    background-color: var(--peak-blue);
    transition: width 0.3s ease;
    width: 0%;
}

.photo-upload-success {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background-color: #0b7a0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.photo-upload-error {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background-color: #b00020;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background-color: rgba(176, 0, 32, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 11;
}

.photo-remove:hover {
    background-color: rgba(176, 0, 32, 1);
}

/* Mobile Suggestion Dialog */
.mobile-suggestion-dialog,
.success-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.dialog-content {
    background-color: var(--stone-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}


.dialog-content h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.dialog-content p {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dialog-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.dialog-dismiss {
    padding: 0.75rem 1.5rem;
    background-color: var(--peak-blue);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.dialog-dismiss:hover {
    background-color: var(--navy);
}

/* Success Dialog */
.success-dialog-content {
    text-align: center;
    animation: popupFadeIn 0.3s ease-out;
    position: relative;
    padding: 3rem 2.5rem;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(11, 122, 11, 0.1);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #0b7a0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 24px;
    line-height: 1;
    animation: iconBounce 0.5s ease-out 0.2s both;
    box-shadow: 0 4px 12px rgba(11, 122, 11, 0.3);
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-dialog-content h3 {
    color: #0b7a0b;
    margin-bottom: 12px;
    font-size: 1.75rem;
    font-weight: 700;
}

.success-dialog-content p {
    color: var(--charcoal);
    margin-bottom: 28px;
    font-size: 1.0625rem;
    line-height: 1.5;
}

/* Upload Progress Dialog */
.upload-progress-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.upload-progress-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
}

.upload-progress-content h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.upload-progress-content p {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.upload-progress-bar-container {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.upload-progress-bar {
    height: 100%;
    width: 0%;
    background: #1a365d; /* Solid navy blue */
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.upload-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progressShimmer 1.5s ease infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.upload-progress-detail {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.upload-spinner {
    margin-bottom: 1.5rem;
}

.upload-spinner .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--navy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.upload-complete-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0b7a0b, #10a010);
    color: white;
    font-size: 40px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: popIn 0.4s ease-out;
    box-shadow: 0 4px 15px rgba(11, 122, 11, 0.3);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.dialog-close {
    padding: 0.875rem 2.5rem;
    background-color: var(--peak-blue);
    color: white;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(47, 95, 122, 0.2);
}

.dialog-close:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 95, 122, 0.3);
}

.dialog-close:active {
    transform: translateY(0);
}

/* Camera Modal */
.camera-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 1rem;
}

.camera-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.camera-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.camera-capture-button,
.camera-cancel-button {
    padding: 1rem 2rem;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.camera-capture-button {
    background-color: var(--peak-blue);
    color: white;
}

.camera-capture-button:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
}

.camera-cancel-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.camera-cancel-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-box {
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-grid-reverse {
        direction: ltr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .header {
        padding: 1.5rem 0;
    }

    .header-scrolled {
        padding: 0.5rem 0;
    }

    .header-content {
        grid-template-columns: auto 1fr;
    }

    .logo {
        height: 80px;
        grid-column: 1;
        justify-content: flex-start;
    }

    .contact-button {
        grid-column: 2;
    }

    .header-scrolled .logo {
        height: 35px;
    }

    .logo-full {
        max-height: 80px;
    }

    .logo-horizontal {
        max-height: 35px;
    }

    .contact-button {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .header-scrolled .contact-button {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    .hero-box {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subline {
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-list li {
        font-size: 1rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-tagline {
        font-size: 1.125rem;
    }

    .gallery-main .swiper-slide {
        width: 280px;
    }

    .gallery-item img {
        height: 240px;
    }

    .gallery-item figcaption {
        font-size: 0.8125rem;
        padding: 0.625rem 0.75rem;
        min-height: 2.5rem;
        height: 2.5rem;
    }

    .gallery-thumbs {
        height: 80px;
    }

    .gallery-thumbs .swiper-slide {
        width: 60px;
        height: 60px;
    }
}

