/* ===== DHEBRONIX MULTIMEDIA COMPANY - COMPLETE STYLES ===== */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #8B1A1A;
    --primary-light: #C41E3A;
    --primary-dark: #5C0E0E;
    --secondary: #000000;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #111111;
    --card-bg-hover: #1a1a1a;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --text-muted: #888888;
    --border-color: #222222;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    --shadow: 0 10px 30px rgba(139, 26, 26, 0.2);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --radius: 10px;
    --radius-sm: 6px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(139, 26, 26, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 8px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

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

.nav-btn {
    background: var(--gradient);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-3px);
}

.btn-product {
    background: var(--gradient);
    color: var(--text-white);
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1400') center/cover no-repeat;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(139,26,26,0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary-light);
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES OVERVIEW ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-light);
}

.service-card:hover .service-icon {
    background: var(--gradient);
}

.service-card:hover .service-icon i {
    color: var(--text-white);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
}

.service-link:hover {
    color: var(--text-white);
}

/* ===== STATS SECTION ===== */
.stats-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1400') center/cover fixed no-repeat;
    padding: 60px 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    margin-bottom: 10px;
}

.stat-icon i {
    font-size: 35px;
    color: var(--primary-light);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
}

.stat-number::after {
    content: '+';
    font-size: 28px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ===== EVENTS GRID (HOME) ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.event-category {
    background: var(--primary);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.event-view {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.event-meta i {
    color: var(--primary-light);
    margin-right: 5px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.section-cta p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ===== WHY CHOOSE US ===== */
.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-content .section-subtitle,
.why-us-content .section-title,
.why-us-content .section-description {
    text-align: left;
}

.why-us-content .section-description {
    margin: 0 0 30px 0;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item .feature-icon {
    font-size: 22px;
    color: var(--primary-light);
    min-width: 30px;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
}

.why-us-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.why-us-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 40px;
    color: var(--primary-light);
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1533174072545-7a4b6ad7a6c3?w=1400') center/cover fixed no-repeat;
    padding: 80px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 26, 26, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER (Inner Pages) ===== */
.page-header {
    position: relative;
    background: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1400') center/cover no-repeat;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(139,26,26,0.5));
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header h1 span {
    color: var(--primary-light);
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    color: var(--text-white);
}

/* ===== ABOUT PAGE ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient);
    padding: 20px 30px;
    border-radius: var(--radius);
    text-align: center;
}

.about-experience h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
}

.about-experience p {
    font-size: 12px;
    letter-spacing: 1px;
}

.about-content .section-subtitle,
.about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-highlights {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight i {
    font-size: 24px;
    color: var(--primary-light);
    min-width: 30px;
    margin-top: 3px;
}

.highlight h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.highlight p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(139, 26, 26, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 12px;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--text-white);
    font-size: 16px;
}

.team-social a:hover {
    color: #FFD700;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 600;
}

.team-info p {
    font-size: 13px;
    color: var(--primary-light);
}

/* ===== VALUES SECTION ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-light);
}

.value-card:hover .value-icon {
    background: var(--gradient);
}

.value-card:hover .value-icon i {
    color: var(--text-white);
}

.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== EVENTS PORTFOLIO (Events Page) ===== */
.filter-buttons,
.equipment-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn,
.equip-filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn.active,
.filter-btn:hover,
.equip-filter-btn.active,
.equip-filter-btn:hover {
    background: var(--gradient);
    border-color: var(--primary);
    color: var(--text-white);
}

.events-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(139, 26, 26, 0.95), rgba(0,0,0,0.3));
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-details .portfolio-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    margin-bottom: 8px;
}

.portfolio-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-details p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.portfolio-expand {
    background: var(--text-white);
    color: var(--primary);
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.portfolio-expand:hover {
    background: var(--primary-light);
    color: var(--text-white);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.portfolio-meta i {
    color: var(--primary-light);
    margin-right: 4px;
}

.portfolio-equipment {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.equip-tag {
    background: rgba(139, 26, 26, 0.15);
    color: var(--primary-light);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 500;
}

/* ===== EVENT MODAL ===== */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-light);
}

/* ===== EQUIPMENT PAGE ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.new {
    background: #27ae60;
    color: white;
}

.product-badge.used {
    background: #f39c12;
    color: white;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-quick-view,
.product-inquiry {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.product-quick-view:hover,
.product-inquiry:hover {
    background: var(--primary);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
}

.product-specs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.custom-inquiry {
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.inquiry-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.inquiry-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.inquiry-content .btn {
    margin: 0 8px;
}

/* ===== BLOG PAGE ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 25px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.blog-card.featured .blog-image {
    height: 350px;
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta i {
    color: var(--primary-light);
    margin-right: 4px;
}

.blog-content h2 a,
.blog-content h3 a {
    color: var(--text-white);
    font-weight: 600;
}

.blog-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: var(--primary-light);
}

.blog-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
}

.blog-read-more:hover {
    color: var(--text-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* BLOG SIDEBAR */
.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--dark-bg);
    color: var(--text-white);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form button {
    padding: 10px 15px;
    background: var(--gradient);
    color: var(--text-white);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
}

.categories-widget ul li {
    margin-bottom: 10px;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-widget ul li a:hover {
    color: var(--primary-light);
}

.categories-widget ul li a span {
    color: var(--text-muted);
    font-size: 12px;
}

.recent-post {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.recent-post a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.recent-post a:hover {
    color: var(--primary-light);
}

.recent-post span {
    font-size: 11px;
    color: var(--text-muted);
}

.cta-widget {
    background: var(--gradient) !important;
    text-align: center;
    border: none !important;
}

.cta-widget h3 {
    border-bottom: 2px solid rgba(255,255,255,0.3) !important;
}

.cta-widget p {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-widget .btn {
    background: var(--text-white);
    color: var(--primary);
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.contact-form-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form-container h2 span {
    color: var(--primary-light);
}

.contact-form-container > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group label i {
    color: var(--primary-light);
    margin-right: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--text-white);
}

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

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 25px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.contact-icon i {
    font-size: 18px;
    color: var(--primary-light);
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 13px;
    color: var(--text-muted);
}

.quick-services {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.quick-services h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-service-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    background: rgba(139, 26, 26, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: var(--transition);
}

.quick-service-btn:hover {
    background: var(--gradient);
    color: var(--text-white);
    border-color: var(--primary);
}

.quick-service-btn i {
    font-size: 16px;
    color: var(--primary-light);
}

.quick-service-btn:hover i {
    color: var(--text-white);
}

.contact-social {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
}

.contact-social h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links-large {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link.facebook { background: #1877F2; }
.social-link.instagram { background: #E4405F; }
.social-link.youtube { background: #FF0000; }
.social-link.twitter { background: #1DA1F2; }
.social-link.whatsapp { background: #25D366; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.map-section {
    border-top: 1px solid var(--border-color);
}

.map-section iframe {
    display: block;
    filter: grayscale(50%) contrast(1.2) brightness(0.8);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 45px;
    width: 45px;
    object-fit: contain;
}

.footer-about p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-contact ul li i {
    color: var(--primary-light);
    min-width: 16px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    color: var(--text-white);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid,
    .testimonials-grid,
    .team-grid,
    .events-portfolio-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .why-us-wrapper,
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-buttons,
    .equipment-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn,
    .equip-filter-btn {
        width: 100%;
    }

    .logo-main {
        font-size: 16px;
    }
}
/* ===== EQUIPMENT PAGE FIX ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    min-height: 200px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    opacity: 1;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--darker-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

/* Fallback if image doesn't load */
.product-image img::after {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    color: var(--primary-light);
    font-size: 14px;
    text-align: center;
}

/* Equipment filter fix */
.equipment-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.equip-filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.equip-filter-btn.active,
.equip-filter-btn:hover {
    background: var(--gradient);
    border-color: var(--primary);
    color: var(--text-white);
}
/* ===== FIXES - TEAM, MOBILE, EQUIPMENT ===== */

/* ===== FIX: Team Grid - Show all members on desktop ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    display: block;
}

.team-card .team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--darker-bg);
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fix broken team images - show placeholder */
.team-card .team-image img[src=""],
.team-card .team-image img:not([src]),
.team-card .team-image img[src*="placeholder"] {
    background: linear-gradient(135deg, var(--card-bg), var(--darker-bg));
}

.team-card .team-info {
    padding: 20px;
}

.team-card .team-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card .team-info p {
    font-size: 13px;
    color: var(--primary-light);
}

/* ===== FIX: Global Mobile - Prevent Horizontal Scroll ===== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow: hidden;
}

/* ===== FIX: Equipment Cards - Full Display on Mobile ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--darker-bg);
    width: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info .btn-product {
    margin-top: auto;
}

/* ===== FIX: Portfolio/Events Cards ===== */
.events-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.portfolio-card {
    width: 100%;
    overflow: hidden;
}

/* ===== FIX: All Grids Overflow Prevention ===== */
.services-grid,
.events-grid,
.testimonials-grid,
.values-grid,
.stats-grid,
.blog-grid,
.footer-grid {
    width: 100%;
    overflow: hidden;
}

/* ===== FIX: Hero Section Overflow ===== */
.hero {
    overflow: hidden;
}

.hero-content {
    max-width: 100%;
    padding: 0 20px;
}

.hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== FIX: Page Header Overflow ===== */
.page-header {
    overflow: hidden;
}

.page-header h1 {
    word-wrap: break-word;
}

/* ===== FIX: Navigation Overflow ===== */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== FIX: Footer Overflow ===== */
.footer {
    overflow: hidden;
}

.footer-bottom {
    flex-wrap: wrap;
}

/* ===== FIX: About Section Overflow ===== */
.about-wrapper {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    max-width: 100%;
}

/* ===== FIX: Why Us Section ===== */
.why-us-wrapper {
    overflow: hidden;
}

.why-us-image img {
    width: 100%;
    max-width: 100%;
}

/* ===== FIX: CTA Section ===== */
.cta-section {
    overflow: hidden;
}

/* ===== FIX: Blog Layout Overflow ===== */
.blog-layout {
    overflow: hidden;
}

/* ===== FIX: Contact Wrapper ===== */
.contact-wrapper {
    overflow: hidden;
}

/* ===== FIX: Modal Overflow ===== */
.event-modal .modal-content {
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* ===== FIX: Custom Inquiry Box ===== */
.custom-inquiry {
    overflow: hidden;
}

.inquiry-content .btn {
    margin: 5px;
}

/* ============================================= */
/* ===== RESPONSIVE FIXES - TABLET (1024px) ===== */
/* ============================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-wrapper {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* ===== RESPONSIVE FIXES - MOBILE (768px) ===== */
/* ============================================= */
@media (max-width: 768px) {
    /* Prevent ALL horizontal scrolling */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    /* Navigation Fix */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: all 0.3s ease;
        border-left: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Fix */
    .hero {
        min-height: 80vh;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 26px !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Section Headers Fix */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px !important;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .section-description {
        font-size: 14px;
    }

    /* Page Header Fix */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 28px !important;
    }

    /* ===== SERVICES - Stack on Mobile ===== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 25px 20px;
    }

    /* ===== STATS - 2 columns on mobile ===== */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 30px;
    }

    /* ===== EVENTS HOME - Stack on Mobile ===== */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* ===== WHY US - Stack on Mobile ===== */
    .why-us-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-us-image img {
        height: 300px;
    }

    /* ===== TESTIMONIALS - Stack on Mobile ===== */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* ===== CTA Fix ===== */
    .cta-content h2 {
        font-size: 24px !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* ===== ABOUT PAGE - Stack on Mobile ===== */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        height: 300px;
    }

    .about-experience {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: -40px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    /* ===== TEAM - Full Width Cards on Mobile ===== */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .team-card {
        width: 100%;
        max-width: 100%;
    }

    .team-card .team-image {
        height: 280px;
    }

    /* ===== VALUES - Stack on Mobile ===== */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* ===== EVENTS PORTFOLIO - Full Width on Mobile ===== */
    .events-portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .portfolio-card {
        width: 100%;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-info {
        padding: 15px;
    }

    .portfolio-meta {
        flex-direction: column;
        gap: 5px;
    }

    .portfolio-equipment {
        flex-wrap: wrap;
    }

    /* Filter Buttons Fix */
    .filter-buttons,
    .equipment-filter {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .filter-btn,
    .equip-filter-btn {
        padding: 8px 16px;
        font-size: 12px;
        flex: 0 0 auto;
    }

    /* ===== EQUIPMENT - Full Width Cards on Mobile ===== */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .product-card {
        width: 100%;
        max-width: 100%;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 18px;
    }

    .product-specs {
        font-size: 13px;
    }

    .price {
        font-size: 22px;
    }

    .product-actions {
        opacity: 1;
    }

    .product-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .btn-product {
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Custom Inquiry Fix */
    .custom-inquiry {
        padding: 25px 15px;
    }

    .inquiry-content h3 {
        font-size: 18px;
    }

    .inquiry-content .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }

    /* ===== BLOG - Stack on Mobile ===== */
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog-card.featured .blog-image {
        height: 220px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content h2 {
        font-size: 18px;
    }

    .blog-content h3 {
        font-size: 15px;
    }

    /* ===== CONTACT - Stack on Mobile ===== */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form-container h2 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-links-large {
        flex-wrap: wrap;
    }

    /* ===== FOOTER - Stack on Mobile ===== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    /* ===== MAP Fix ===== */
    .map-section iframe {
        height: 250px;
    }

    /* ===== MODAL Fix ===== */
    .event-modal .modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .modal-content img {
        height: 200px !important;
    }
}

/* ============================================= */
/* ===== RESPONSIVE FIXES - SMALL MOBILE (480px) ===== */
/* ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 22px !important;
    }

    .section-title {
        font-size: 20px !important;
    }

    .page-header h1 {
        font-size: 24px !important;
    }

    .logo-main {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 7px;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 11px;
    }

    .team-card .team-image {
        height: 250px;
    }

    .product-image {
        height: 220px;
    }

    .price {
        font-size: 20px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 75px;
        right: 18px;
    }
}