/*
Theme Name: MaterialCut
Theme URI: https://materialcut.com
Author: MaterialCut
Author URI: https://materialcut.com
Description: Professional B2B cutting services theme for MaterialCut - Precision Cutting for Plastics, Metals and Technical Laminates.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: materialcut
Tags: business, industrial, b2b, cutting, manufacturing
*/

/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
    --navy:     #0A1628;
    --orange:   #E84B1A;
    --white:    #FFFFFF;
    --lightgrey:#F5F5F5;
    --charcoal: #333333;
    --midgrey:  #666666;
    --border:   #E0E0E0;
    --font-main: 'Montserrat', 'Roboto', sans-serif;
    --font-body: 'Open Sans', 'Inter', sans-serif;
    --shadow:   0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
    --radius:   6px;
    --transition: 0.25s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; }

/* ===========================
   LAYOUT UTILITIES
=========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--lightgrey); }

/* Section heading style */
.section-title {
    text-align: center;
    margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-subtitle {
    text-align: center;
    color: var(--midgrey);
    font-size: 1.05rem;
    margin-bottom: 52px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.title-line {
    display: block;
    width: 52px;
    height: 3px;
    background: var(--orange);
    margin: 12px auto 0;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: #c93d12;
    border-color: #c93d12;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,75,26,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: #0d1e38;
    border-color: #0d1e38;
    color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    transition: background var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.site-logo img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.site-logo:hover { opacity: 0.9; }

/* Main nav */
#main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
#main-nav ul li a {
    color: rgba(255,255,255,0.85);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
#main-nav ul li a.nav-cta {
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
}
#main-nav ul li a.nav-cta:hover {
    background: #c93d12;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 20px;
}
.lang-switcher a {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}
.lang-switcher span { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.lang-switcher a.lang-coming-soon {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.72) 0%, rgba(10,22,40,0.38) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 120px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,75,26,0.15);
    border: 1px solid rgba(232,75,26,0.4);
    color: var(--orange);
    font-size: 0.78rem;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
}
.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.hero-content h1 span { color: var(--orange); }
.hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 580px;
}
.hero-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.hero-tech-tags span {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item { text-align: left; }
.hero-stat-item .stat-number {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.hero-stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* ===========================
   SERVICES SECTION
=========================== */
#services {
    background: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 0;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(10,22,40,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.service-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.8;
}
.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}
.service-card p {
    color: var(--midgrey);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.service-card .service-link {
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-card .service-link::after {
    content: '→';
    transition: transform var(--transition);
}
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ===========================
   MATERIALS SECTION
=========================== */
#materials { background: var(--lightgrey); }
.materials-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.mat-tab {
    padding: 9px 22px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--midgrey);
    transition: all var(--transition);
}
.mat-tab.active,
.mat-tab:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.material-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}
.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.material-card-img {
    height: 130px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}
.material-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.material-card-body {
    padding: 16px 18px;
}
.material-card-body h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--navy);
}
.material-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(232,75,26,0.08);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.material-card-body p {
    font-size: 0.82rem;
    color: var(--midgrey);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===========================
   WHY US SECTION
=========================== */
#why-us { background: var(--navy); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.why-item {
    text-align: center;
    padding: 20px;
}
.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(232,75,26,0.15);
    border: 1px solid rgba(232,75,26,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.why-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--orange);
    stroke-width: 2;
}
.why-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}
.why-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===========================
   QUOTE FORM SECTION
=========================== */
#quote { background: var(--lightgrey); }
.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}
.quote-info h2 { margin-bottom: 16px; }
.quote-info p { color: var(--midgrey); margin-bottom: 28px; }
.quote-info ul { display: flex; flex-direction: column; gap: 14px; }
.quote-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--charcoal);
}
.quote-info ul li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1px;
}
.quote-form {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 7px;
}
.form-group label .req { color: var(--orange); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,75,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--lightgrey);
}
.file-upload-area:hover {
    border-color: var(--orange);
    background: rgba(232,75,26,0.03);
}
.file-upload-area input[type="file"] {
    display: none;
}
.file-upload-area .upload-icon { font-size: 1.8rem; margin-bottom: 6px; }
.file-upload-area p {
    font-size: 0.82rem;
    color: var(--midgrey);
    margin-bottom: 0;
}
.file-upload-area span {
    color: var(--orange);
    font-weight: 700;
    cursor: pointer;
}
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }
.form-note {
    font-size: 0.78rem;
    color: var(--midgrey);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}
.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 16px;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
    background: #060e1a;
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.footer-col h5 {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-contact-item .icon {
    color: var(--orange);
    font-size: 1rem;
    margin-top: 2px;
    min-width: 16px;
}
.footer-contact-item p {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
}
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p {
    color: rgba(255,255,255,0.25);
    font-size: 0.78rem;
    margin-bottom: 0;
}
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-bottom a:hover { color: var(--orange); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quote-wrapper { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .header-inner { height: 64px; }
    #main-nav { display: none; }
    #main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--navy);
        padding: 16px 24px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    #main-nav.open ul { flex-direction: column; gap: 4px; }
    #main-nav.open ul li a { display: block; padding: 12px 16px; }
    .lang-switcher { margin-left: 0; margin-top: 12px; }
    .nav-toggle { display: flex; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section-pad { padding: 56px 0; }
}
@media (max-width: 480px) {
    .materials-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .quote-form { padding: 24px 20px; }
}
