/* ============================================
   JORGE PEIXOTO - REMODELAÇÕES & CONSTRUÇÃO
   Design Based on Logo: Black + Gold
   ============================================ */

/* Root Variables - Based on Logo Colors */
:root {
    --primary-black: #1a1a1a;
    --primary-dark: #2d2d2d;
    --gold: #d4af37;
    --gold-light: #e8c547;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-black);
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--bg-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--primary-black);
        border-bottom: 2px solid var(--gold);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--gold);
        opacity: 0.8;
        display: block;
        width: 100%;
    }

    .nav-link::after {
        display: none !important;
    }

    /* Remove any slash separators if they exist */
    .nav-menu li::before,
    .nav-menu li::after {
        content: none !important;
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo-img {
        max-height: 250px;
    }
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.highlights {
    background: var(--bg-light);
    padding: 4rem 0;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.highlight-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

    .highlights {
        padding: 2rem 0;
    }
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */

.featured {
    padding: 6rem 0;
}

.featured h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.featured-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-black);
    padding: 1.5rem 1.5rem 0.5rem;
}

.featured-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0 1.5rem 1.5rem;
}

.featured-cta {
    text-align: center;
}

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

    .featured {
        padding: 4rem 0;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    border-bottom: 2px solid var(--gold);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 6rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gallery-item.reverse {
    direction: rtl;
}

.gallery-item.reverse > * {
    direction: ltr;
}

.gallery-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.gallery-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-features li {
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.project-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    margin-right: 0.75rem;
}

.before-after-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    cursor: col-resize;
    aspect-ratio: 16/10;
    background: #f0f0f0;
    border: 2px solid var(--gold);
}

.slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slider-before-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden; /* This 'clips' the image as you move the slider */
    z-index: 2;
    width: 50%; /* This changes when you move the handle */
}

.slider-before {
    position: absolute;
    top: 0;
    left: 0;
    /* This MUST be the exact width of the full slider */
    width: 100%; 
    /* This ensures the image doesn't shrink when the slider moves */
    min-width: 100%; 
    height: 100%;
    object-fit: cover;
    display: block;
}


.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    z-index: 3;
    left: 50%;
    cursor: grab;
}

.slider-handle:active {
    cursor: grabbing;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.slider-label {
    position: absolute;
    bottom: 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 4;
    backdrop-filter: blur(4px);
}

.slider-label.before {
    left: 1.5rem;
}

.slider-label.after {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item.reverse {
        direction: ltr;
    }

    .gallery-text h3 {
        font-size: 1.5rem;
    }

    .gallery {
        padding: 4rem 0;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--bg-light);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .services {
        padding: 4rem 0;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    padding: 6rem 0;
}

.process h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 60%;
    right: -50%;
    height: 2px;
    background: var(--gold);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-family: var(--font-display);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

    .process-step:not(:last-child)::after {
        display: none;
    }

    .process {
        padding: 4rem 0;
    }
}

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

.contact {
    padding: 6rem 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    border: 2px solid var(--gold);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-black);
}

/* .contact-form h2 removido pois não existe no HTML */

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

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

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .contact {
        padding: 4rem 0;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-black);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */

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

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* --- CORREÇÃO FINAL DE CENTRAGEM --- */
.services-grid {
    display: flex !important;
    justify-content: center !important;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 0 1 350px !important; /* Fixa o tamanho e permite centrar */
    text-align: center;
}

.process-grid {
    display: flex !important;
    justify-content: center !important;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 0 1 300px !important;
    text-align: center;
}

/* ============================================
   NEW CONTACT PAGE STYLES
   ============================================ */

.contact-section-new {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--primary-black);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    border-bottom: 4px solid var(--gold);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 3rem;
    height: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p, .info-card a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 1 !important;
}

.info-card a:hover {
    color: var(--gold-light) !important;
}

.form-container-centered {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-container-centered h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

.contact-form-large {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1.1rem;
    color: #1a1a1a !important;
    background-color: #ffffff !important;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container-centered {
        padding: 3rem 2rem;
        width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-container-centered {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   GALLERY & VIDEO STYLES
   ============================================ */

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.gallery-item.reverse {
    direction: rtl;
}

.gallery-item.reverse .gallery-text {
    direction: ltr;
}

.gallery-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.slider-after {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-before-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.slider-before {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--gold);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: auto;
    cursor: ew-resize;
}

.before-after-slider.dragging {
    cursor: ew-resize;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 4;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-label.before {
    left: 20px;
}

.slider-label.after {
    right: 20px;
}

@media (max-width: 768px) {
    .before-after-slider {
        height: 300px;
    }
}

.video-gallery {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.video-item {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-item video {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.video-item h4 {
    text-align: center;
    font-family: var(--font-display);
    color: var(--primary-black);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .gallery-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .gallery-item.reverse {
        direction: ltr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
