/* ========== Page 1  ==========  ==========*/

#page1 {
    min-height: 10vh;
    width: 100%;
    /* background-color: #efeae3; */
    position: relative;
    padding: 0 2vw;
    background-color: #ececec;
    padding-top: 100px;
    padding-bottom: 60px;
}

#center {
    height: auto;
    width: 100%;
    /* background-color: orange; */
    display: flex;
    align-items: flex-end;
    /* justify-content: space-between; */
    border-bottom: 1px solid #0000003c;
    padding-bottom: 2.5vw;
    /* margin-top: 100px; */
}

#left h3 {
    width: 35vw;
    font-size: 1.4vw;
    line-height: 2vw;
    font-family: var(--primary-font);
}

#left img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover; /* preserves aspect ratio, fills box */
    object-position: center; /* optional — centers subject */
}

#center h1 {
    font-size: 10vw;
    text-align: right;
    line-height: 8vw;
    font-family: var(--primary-font);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
}

#page1 video {
    position: relative;
    border-radius: 30px;
    margin-top: 4vw;
    width: 100%;
}
/* ========== Page 2  ==========  ==========*/
#page2 {
    /* min-height: 100vh; */
    width: 100%;
    background-color: #ececec;
    position: relative;
}

#moving-text {
    overflow: hidden;
    white-space: nowrap;
}

#moving-text::-webkit-scrollbar {
    display: none;
}

.con {
    white-space: nowrap;
    display: inline-block;
    animation-name: move;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#moving-text h1 {
    font-size: 6vw;
    /* background-color: lightblue; */
    display: inline-block;
}

#gola {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: inline-block;
    background-color: #ce2a1d;
    margin: 1vw 1vw;
}

@keyframes move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

#bottom-part2 {
    width: 100%;
    /* background-color: aqua; */
}

#bottom-part2 img {
    width: 100%;
    border-radius: 15px;
}

#bottom-part2 p {
    font-weight: 200;
    margin-top: 2vw;
    font-size: 1vw;
}

@media (max-width: 768px) {
    /* ========== Page 1  ==========  ==========*/
    #page1 {
        padding-top: 0px;
        padding-bottom: 20px;
    }
    #center {
        height: auto;
        width: 100%;
        /* background-color: orange; */
        display: flex;
        align-items: flex-end;
        /* justify-content: space-between; */
        border-bottom: 1px solid #0000003c;
        padding: 7vw 5vw;
        padding-bottom: 10vw;
        margin-top: 50px;
        /* flex-direction: column-reverse; */
        position: relative;
        z-index: 9;
    }

    #left h3 {
        width: 80%;
        font-size: 3.5vw;
        line-height: 5vw;
    }

    #center h1 {
        font-size: 17vw;
        text-align: right;
        line-height: 15vw;
    }

    #page1 video {
        position: relative;
        border-radius: 15px;
        margin-top: 4vw;
        height: 70vh;
        object-fit: cover;
        object-position: center;
        width: 92%;
        margin-left: 4%;
    }

    /* ========== Page 2  ==========  ==========*/

    #page2 {
        /* min-height: 100vh; */
        width: 100%;
        /* background-color: #efeae3; */
        /* padding: 8vw 0; */
        position: relative;
    }

    #moving-text {
        overflow: hidden;
        white-space: nowrap;
    }

    #moving-text::-webkit-scrollbar {
        display: none;
    }

    .con {
        white-space: nowrap;
        display: inline-block;
        animation-name: move;
        animation-duration: 10s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    #moving-text h1 {
        font-size: 15vw;
        /* background-color: lightblue; */
        display: inline-block;
    }

    #gola {
        height: 25px;
        width: 25px;
        border-radius: 50%;
        display: inline-block;
        background-color: #ce2a1d;
        margin: 2vw 2vw;
    }
}

/* ========== Page 3 Services ========== */
#page3 {
    min-height: 10vh;
    width: 100%;
    background-color: var(--secondary-light);
    padding: 5vw 0;
}

.elem {
    height: auto; /* Adjust height to fit content */
    width: 100%;
    position: relative;
    border-bottom: 1px solid var(--primary-color);
    overflow: hidden;
    padding: 2vw;
    margin: 0;
}

.elem h2 {
    font-size: 1.5rem;
    position: relative;
    z-index: 9;
    margin: 0; /* Remove default margin */
}

.elem .description {
    font-size: 0.9rem;
    color: #777;
    margin: 0; /* Remove default margin */
    position: relative;
    font-family: "Roboto Mono", monospace;
    z-index: 9;
}

.elem .overlay {
    height: 100%;
    width: 100%;
    background-color: var(--accent-blue);
    position: absolute;
    left: 0;
    top: -100%;
    transition: all ease 0.25s;
    z-index: 1;
}

.elem:hover .overlay {
    top: 0;
}

/* Change text color to white on hover */
.elem:hover h2,
.elem:hover .description {
    color: white !important; /* Force white text on hover */
}

/* #fixed-image {
    height: 30vw;
    width: 24vw;
    border-radius: 15px;
    position: fixed;
    z-index: 99;
    left: 35%;
    top: 25%;
    display: none;
    background-size: cover;
    background-position: center;
} */

/* Responsive Design */
@media (max-width: 768px) {
    #page3 {
        padding: 8vw 0;
    }
    .elem {
        padding: 4vw 2vw; /* Increase padding for smaller screens */
    }

    .elem h2 {
        font-size: 1.3rem;
    }

    .elem .description {
        font-size: 0.8rem;
        text-align: left; /* Align description to the left on smaller screens */
        margin-top: 5px; /* Add spacing between h2 and description */
    }

    /* Ensure columns stack properly on smaller screens */
    .elem .col-md-8,
    .elem .col-md-4 {
        flex: 0 0 100%; /* Force full width on smaller screens */
        max-width: 100%;
    }
}

/* ==========  Breadcrumb Grid  ==========  ==========*/
.breadcrumb-section {
    position: relative;
    z-index: 1;
}

.breadcrumb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(
        0,
        0,
        0,
        0.4
    ); /* Dark overlay - adjust opacity as needed */
    z-index: -1;
}

.custom-text {
    /* font-family: "Arial", sans-serif; */
    font-weight: 700;
    color: #ececec;
    font-size: 65px;
    letter-spacing: -5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-text {
        font-size: 48px;
        letter-spacing: -0.5px;
    }
}

@media (max-width: 480px) {
    .custom-text {
        font-size: 36px;
        letter-spacing: 0px;
    }
}

/* ==========  Gallery   ==========  ==========*/

.studio-gallery-grid {
    margin-top: 30px;
}

.studio-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 400px;
    transition: all 0.3s ease;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
}

.studio-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.studio-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.studio-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.studio-gallery-icon {
    color: white;
    font-size: 2rem;
}

.studio-gallery-item:hover .studio-gallery-overlay {
    opacity: 1;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .studio-gallery-item {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .studio-panorama-container {
        height: 350px;
    }

    .studio-gallery-item {
        height: 250px;
    }

    .studio-panorama-badge {
        top: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 576px) {
    .studio-gallery-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .studio-gallery-item {
        height: 200px;
    }

    .studio-gallery-title {
        font-size: 2rem;
    }
}

/* ========== MINIMAL CONTACT SECTION ========== */

/* Contact Section Container */
.contact-section {
    padding: 80px 0;
    background-color: #ececec;
    position: relative;
}

/* Minimal Form Container */
.contact-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Modern Card-like Form Container */
.form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Elegant Input Fields */
.contact-input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 14px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--primary-font);
    font-size: 1rem;
    color: #1d1d1d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(38, 47, 99, 0.02);
}

.contact-input:hover {
    background: #f1f3f5;
    box-shadow: 0 4px 10px rgba(50, 55, 114, 0.05);
}

.contact-input:focus {
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(113, 109, 167, 0.15);
    transform: translateY(-2px);
}

.contact-input::placeholder {
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Textarea specific styles */
.contact-input textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

/* Form Row spacing */
.contact-form .row {
    margin-bottom: 0;
}

/* Submit Button - Minimal Elegant */
.contact-form .submit-btn {
    background: #1d1d1d;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 18px 45px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.contact-form .submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}

.contact-form .submit-btn:hover {
    background: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(29, 29, 29, 0.3);
}

.contact-form .submit-btn:hover::before {
    left: 100%;
}

.contact-form .submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(29, 29, 29, 0.2);
}

/* Error/Success Messages - Minimal */
.form-status {
    margin-bottom: 25px;
}

.error-message {
    background: #fff5f5;
    color: #e53e3e;
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #e53e3e;
    margin-bottom: 20px;
    font-size: 0.95rem;
    list-style: none;
    display: none;
}

.success-message {
    background: #f0fff4;
    color: #2f855a;
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #2f855a;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Loading State */
.submit-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Label Animation (optional) */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: #6c757d;
    font-size: 0.9rem;
    font-family: "Roboto Mono", monospace;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
    padding: 0 5px;
}

.contact-input:focus + .input-label,
.contact-input:not(:placeholder-shown) + .input-label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--accent-orange);
    background: #ffffff;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 0, 0, 0.1),
        transparent
    );
    margin: 50px auto;
    max-width: 200px;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .contact-section {
        padding: 60px 0;
    }

    .form-container {
        padding: 35px;
        margin-top: 25px;
    }

    .contact-input {
        padding: 15px 18px;
        margin-bottom: 4px;
    }

    .contact-form .submit-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .map-minimal-container {
        margin: 25px auto 40px;
        border-radius: 14px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .contact-section {
        padding: 50px 15px;
    }

    .form-container {
        padding: 30px 25px;
        margin-top: 20px;
        border-radius: 14px;
    }

    .contact-input {
        padding: 14px 16px;
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    .contact-input::placeholder {
        font-size: 0.85rem;
    }

    .contact-form .submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    .map-minimal-container {
        margin: 20px auto 35px;
        border-radius: 12px;
    }

    .map-minimal-container iframe {
        height: 300px;
    }

    .error-message,
    .success-message {
        padding: 14px;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (below 576px) */
@media (max-width: 575px) {
    .contact-section {
        padding: 40px 12px;
    }

    .form-container {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .contact-input {
        padding: 13px 15px;
        margin-bottom: 1px;
        font-size: 0.9rem;
    }

    .contact-input::placeholder {
        font-size: 0.8rem;
    }

    .contact-form .submit-btn {
        padding: 15px;
        font-size: 0.95rem;
    }

    .map-minimal-container {
        border-radius: 10px;
        margin: 15px auto 30px;
    }

    .map-minimal-container iframe {
        height: 250px;
    }

    .section-divider {
        margin: 40px auto;
    }
}

/* Extra Small Mobile (below 375px) */
@media (max-width: 374px) {
    .contact-section {
        padding: 30px 10px;
    }

    .form-container {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .contact-input {
        padding: 12px 14px;
        margin-bottom: 1px;
        font-size: 0.85rem;
    }

    .contact-form .submit-btn {
        padding: 14px;
        font-size: 0.9rem;
    }

    .map-minimal-container iframe {
        height: 220px;
    }
}

/* Desktop Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .contact-form {
        max-width: 800px;
    }

    .form-container {
        padding: 50px;
    }

    .map-minimal-container {
        border-radius: 18px;
        margin: 40px auto 60px;
    }
}

/* Form Validation Styles */
.contact-input.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.contact-input.success {
    border-color: #2f855a;
    background: #f0fff4;
}

/* Focus ring for accessibility */
.contact-input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(206, 42, 29, 0.2);
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-family: var(--primary-font);
    font-weight: 500;
    color: #1d1d1d;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================== Map Container - Minimal Elegant================== */
.map-minimal-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin: 30px auto 50px;
    max-width: 900px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-minimal-container iframe {
    display: block;
    width: 100%;
    border: none;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.3s ease;
}

.map-minimal-container:hover iframe {
    filter: grayscale(0%) contrast(100%);
}
