/* ============================================
   OWENS WELDING WORKS — Custom Styles
   ============================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: #FDF9F5;
    color: #2A1511;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #B5654B;
    color: #FDF9F5;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 200;
    font-size: 0.875rem;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.owens-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(181, 101, 75, 0.1);
    transition: box-shadow 0.3s ease;
}
.owens-nav.scrolled {
    box-shadow: 0 2px 24px rgba(42, 21, 17, 0.08);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 2rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2A1511;
    letter-spacing: -0.01em;
}
.nav-logo-icon {
    color: #B5654B;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}
.nav-links a:not(.nav-cta) {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4E2A23;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s ease;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #B5654B;
    transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover { color: #B5654B; }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #B5654B;
    color: #FDF9F5 !important;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: #9A513D; transform: translateY(-1px); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 4px;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #2A1511;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 0 0;
    background: #FDF9F5;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 3rem;
    align-items: center;
}
.hero-visual { order: 2; }
.hero-content { order: 1; }
@media (min-width: 900px) {
    .hero-visual { order: 1; }
    .hero-content { order: 2; }
}
.hero-photo-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 640 / 860;
}
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-accent-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #B5654B, #D19B62, #B5654B);
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B5654B;
    margin-bottom: 1.5rem;
}
.hero-label-line {
    display: block;
    width: 32px;
    height: 1.5px;
    background: #B5654B;
}
.hero-headline {
    font-family: 'Lora', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #2A1511;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-headline em {
    font-style: italic;
    color: #B5654B;
}
.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #633329;
    max-width: 520px;
    margin-bottom: 0.75rem;
}
.hero-sub--accent {
    color: #7D4030;
    font-weight: 500;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(181, 101, 75, 0.2);
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-num {
    font-family: 'Lora', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #B5654B;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7D4030;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(181, 101, 75, 0.3);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: #B5654B;
    color: #FDF9F5;
    border: 2px solid #B5654B;
}
.btn-primary:hover {
    background: #9A513D;
    border-color: #9A513D;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(181, 101, 75, 0.3);
}
.btn-secondary {
    background: transparent;
    color: #2A1511;
    border: 2px solid rgba(42, 21, 17, 0.25);
}
.btn-secondary:hover {
    border-color: #B5654B;
    color: #B5654B;
    transform: translateY(-2px);
}
.btn-light {
    background: #FDF9F5;
    color: #2A1511;
    border: 2px solid #FDF9F5;
}
.btn-light:hover {
    background: #F2DFD4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline-light {
    background: transparent;
    color: #FDF9F5;
    border: 2px solid rgba(253, 249, 245, 0.5);
}
.btn-outline-light:hover {
    background: rgba(253, 249, 245, 0.1);
    border-color: #FDF9F5;
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   SECTION COMMON
   ============================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B5654B;
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: #B5654B;
}
.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #2A1511;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #633329;
    max-width: 600px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 6rem 0;
    background: #FDF9F5;
}
.services-header {
    margin-bottom: 3.5rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}
.service-card {
    background: #F9F0E5;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(181, 101, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 21, 17, 0.1);
    border-color: rgba(181, 101, 75, 0.2);
}
.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 101, 75, 0.1);
    border-radius: 10px;
    color: #B5654B;
    margin-bottom: 1.25rem;
}
.service-card-title {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2A1511;
    margin-bottom: 0.6rem;
}
.service-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #633329;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 6rem 0;
    background: #F2DFD4;
    overflow: hidden;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.about-visual { position: relative; max-width: 580px; }
.about-photo-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42, 21, 17, 0.15);
}
.about-photo-main img {
    width: 100%;
    height: auto;
    display: block;
}
.about-photo-float {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(42, 21, 17, 0.2);
    border: 4px solid #F2DFD4;
}
.about-photo-float img {
    display: block;
}
.about-photo-float-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(42, 21, 17, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.about-photo-float-badge-num {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F5E6D3;
    line-height: 1;
}
.about-photo-float-badge-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D9A08A;
    line-height: 1.3;
}
.about-content { max-width: 560px; }
.about-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4E2A23;
    margin-bottom: 1.25rem;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    margin: 2rem 0;
}
.about-value {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4E2A23;
}
.about-value svg { color: #B5654B; flex-shrink: 0; }
@media (min-width: 900px) {
    .about-layout { grid-template-columns: 5fr 6fr; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 6rem 0;
    background: #FDF9F5;
}
.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}
.gallery-header .section-label { justify-content: center; }
.gallery-header .section-label::before { display: none; }
.gallery-header .section-desc { margin: 0 auto; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 520 / 380;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 21, 17, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FDF9F5;
}
@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 5rem 0;
    background: #2A1511;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(181, 101, 75, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(209, 155, 98, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.cta-label { color: #D9A08A; }
.cta-label::before { background: #D9A08A; }
.cta-title {
    color: #FDF9F5;
    margin-bottom: 1rem;
}
.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #E8C4B4;
    max-width: 520px;
}
.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
@media (min-width: 768px) {
    .cta-banner-inner { grid-template-columns: 1fr auto; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 6rem 0;
    background: #F9F0E5;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-info { max-width: 560px; }
.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #633329;
    margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 101, 75, 0.1);
    border-radius: 8px;
    color: #B5654B;
    flex-shrink: 0;
}
.contact-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B5654B;
    margin-bottom: 0.2rem;
}
.contact-detail-value {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #2A1511;
}
.contact-phone:hover { color: #B5654B; text-decoration: underline; }
.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(42, 21, 17, 0.1);
}
.contact-form-wrap {
    background: #FDF9F5;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(181, 101, 75, 0.12);
    box-shadow: 0 8px 32px rgba(42, 21, 17, 0.06);
}
.contact-form-title {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2A1511;
    margin-bottom: 0.5rem;
}
.contact-form-desc {
    font-size: 0.9375rem;
    color: #7D4030;
    margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #633329;
    margin-bottom: 0.4rem;
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    color: #2A1511;
    background: #F9F0E5;
    border: 1.5px solid rgba(181, 101, 75, 0.2);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: #C9A08A; }
.form-input:focus {
    border-color: #B5654B;
    box-shadow: 0 0 0 3px rgba(181, 101, 75, 0.12);
}
.form-select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B5654B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.form-success svg { color: #B5654B; }
.form-success h4 {
    font-family: 'Lora', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #2A1511;
}
.form-success p {
    font-size: 0.9375rem;
    color: #633329;
    line-height: 1.6;
}
@media (min-width: 900px) {
    .contact-layout { grid-template-columns: 5fr 6fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2A1511;
    color: #E8C4B4;
    padding: 4rem 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-brand { max-width: 360px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FDF9F5;
    margin-bottom: 1rem;
}
.footer-logo svg { color: #D9A08A; }
.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #C9A08A;
}
.footer-nav-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D9A08A;
    margin-bottom: 0.75rem;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-nav a {
    font-size: 0.9375rem;
    color: #C9A08A;
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: #FDF9F5; }
.footer-address {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #C9A08A;
    font-style: normal;
}
.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #FDF9F5;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}
.footer-phone:hover { color: #D9A08A; }
.footer-divider {
    height: 1px;
    background: rgba(201, 160, 138, 0.15);
    margin: 0 1.5rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
    font-size: 0.8125rem;
    color: #875536;
}
.footer-loc { color: #875536; }
@media (min-width: 768px) {
    .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

/* ============================================
   MOBILE NAV
   ============================================ */
@media (max-width: 767px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid rgba(181, 101, 75, 0.1);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links a:not(.nav-cta) {
        padding: 0.875rem 0;
        border-bottom: 1px solid rgba(181, 101, 75, 0.08);
        font-size: 1rem;
    }
    .nav-links a:not(.nav-cta):last-of-type { border-bottom: none; }
    .nav-cta {
        margin-top: 1rem;
        justify-content: center;
        padding: 0.875rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    .hero-visual { order: 1; }
    .hero-content { order: 2; }
    .hero-photo-wrap { max-height: 400px; }
    .hero-stats { flex-wrap: wrap; }
    .about-photo-float { position: relative; bottom: auto; right: auto; margin-top: 1rem; }
    .about-values { grid-template-columns: 1fr; }
}
