:root {
    --primary-red: #da291c;
    --primary-red-hover: #b92015;
    --light-red: #fff5f5;
    --text-dark: #2c3e50;
    --text-light: #5f6c7b;
    --bg-white: #ffffff;
    --bg-offwhite: #f8f9fa;
    --dark-blue: #0A2342;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-offwhite);
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.text-center { text-align: center; }
.w-100 { width: 100%; }

.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
    position: relative;
    display: block;
    text-align: center;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Animations using keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(218, 41, 28, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); }
}

.fade-in-up { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.fade-in-left { opacity: 0; animation: fadeInLeft 0.8s ease forwards; }
.fade-in-right { opacity: 0; animation: fadeInRight 0.8s ease forwards; }

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    z-index: 1000;
}

.brand-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.brand-logo-container:hover {
    transform: scale(1.03);
}
.brand-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}
.brand-ozfen {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.brand-ozfen::after {
    display: none;
}
.brand-elektronik {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 1.5px;
}
.brand-services {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark-blue);
    letter-spacing: 0px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}
.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    bottom: -2px;
    left: 0;
    transition: var(--transition);
    border-radius: 4px;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary-red); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top right, #fff1f1 0%, #ffffff 60%);
    position: relative;
    padding-top: 80px;
}

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #1a1a1a;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.primary-btn {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 8px 25px rgba(218, 41, 28, 0.3);
}
.primary-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(218, 41, 28, 0.4);
}

/* Services */
.services-section { background: var(--bg-white); }
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    padding-top: 30px;
}
.service-card {
    background: var(--bg-white);
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    flex: 1 1 260px;
    max-width: 280px;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    background: white;
    border-color: rgba(218, 41, 28, 0.15);
}
.service-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 25px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
}
.service-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.service-card p { color: var(--text-light); line-height: 1.7; }

/* Comments */
.bg-light-red { background: var(--bg-offwhite); border-top: 1px solid #f1f1f1; }
.comments-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
}
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-thumb {
    background-color: var(--primary-red);
    border-radius: 10px;
}
.comment-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}
.comment-item:hover { transform: translateX(8px); }
.comment-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}
.avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red-hover), var(--primary-red));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}
.user-info h4 { margin-bottom: 6px; font-size: 1.1rem; }
.stars { color: #fabb05; font-size: 1rem; }
.comment-item p { color: var(--text-light); line-height: 1.7; font-style: italic; margin-bottom: 12px; }
.comment-date { font-size: 0.85rem; color: #aaa; }

.comment-form-box {
    background: white;
    padding: 45px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
}
.comment-form-box h3 { margin-bottom: 30px; font-size: 2rem; text-align: center; }
.form-group { margin-bottom: 25px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #ebecf0;
    border-radius: 12px;
    font-size: 1.05rem;
    background: #fdfdfd;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: white;
    box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.1);
}

/* Contact & Map */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}
.info-item:hover {
    transform: translateX(12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-color: rgba(218,41,28,0.1);
}
.info-item i {
    width: 65px;
    height: 65px;
    background: var(--light-red);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.info-item h4 { font-size: 1rem; color: var(--text-light); margin-bottom: 5px; }
.info-item p { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); }

.map-container {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 480px;
    background: white;
    padding: 10px;
}
.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}
.map-dummy {
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    transition: var(--transition);
}
/* Abstract map pattern using linear gradients and background size */
.map-dummy::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200%; height: 200%;
    background-image: 
      linear-gradient(45deg, #e6e6e6 25%, transparent 25%, transparent 75%, #e6e6e6 75%, #e6e6e6),
      linear-gradient(45deg, #e6e6e6 25%, transparent 25%, transparent 75%, #e6e6e6 75%, #e6e6e6);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
}
/* Adding fake roads/streets on map */
.map-dummy::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
      linear-gradient(to right, transparent 48%, white 48%, white 52%, transparent 52%),
      linear-gradient(to bottom, transparent 48%, white 48%, white 52%, transparent 52%);
    opacity: 0.8;
}
/* Map Pin point dummy */
.map-link .fake-pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    color: var(--primary-red);
    font-size: 3.5rem;
    z-index: 2;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}

.map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(218, 41, 28, 0.85);
    backdrop-filter: blur(3px);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}
.map-overlay i {
    font-size: 3.5rem;
    animation: pulse 2s infinite;
    border-radius: 50%;
}
.map-link:hover .map-overlay { opacity: 1; }
.map-link:hover .map-dummy { transform: scale(1.08); }
.map-link:hover .fake-pin { opacity: 0; }

.footer {
    background: #111418;
    color: #8c98a4;
    text-align: center;
    padding: 40px 0;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .comments-container, .contact-content { grid-template-columns: 1fr; }
    .navbar { padding: 15px 25px; flex-direction: column; gap: 10px; height: auto; position: relative; }
    .nav-links { display: flex; gap: 15px; font-size: 0.9rem; }
    .map-container { height: 350px; }
    .brand-ozfen { font-size: 1.8rem; }
    .brand-services { font-size: 0.55rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .nav-links { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .brand-ozfen { font-size: 1.5rem; }
    .brand-services { display: none; }
}
