/**
 * Code Bilisim - Frontend Styles
 * site.css
 */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #0ea5e9;
    --success: #059669;
    --warning: #f59e0b;
    --danger: #dc2626;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #0284c7;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-sm {
    padding: 8px 18px;
    font-size: 14px;
    background: transparent;
    border: 2px solid var(--gray-light);
    color: var(--dark);
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact a {
    color: var(--white);
}

.header-contact a:hover {
    color: var(--accent);
}

.header-contact .separator {
    opacity: 0.5;
}

.btn-cta {
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-cta:hover {
    background: #0284c7;
    color: var(--white);
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--secondary);
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.nav-highlight {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
}

.nav-highlight:hover {
    background: #0284c7 !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-slider .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.hero-content-bottom-left {
    position: absolute;
    bottom: 60px;
    left: 20px;
    max-width: 600px;
    text-align: left;
}

.hero-slider h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffc107;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-slider p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-slider .hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-slider .btn-primary {
    background: #ffc107;
    color: #1a1a1a;
    font-weight: 700;
    border: none;
}

.hero-slider .btn-primary:hover {
    background: #e0a800;
    color: #1a1a1a;
}

.hero-slider .btn-outline {
    background: transparent;
    border: 2px solid #ffc107;
    color: #ffc107;
}

.hero-slider .btn-outline:hover {
    background: #ffc107;
    color: #1a1a1a;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: #ffc107;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 193, 7, 0.7);
}

/* Old hero fallback */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--accent);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light);
}

.services-page {
    padding: 80px 0;
}

/* Service Box Grid - Old Style with Background Images */
.services-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-box {
    display: block;
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.service-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    transition: all 0.4s ease;
}

.service-box:hover .service-box-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-box-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #ffc107;
    z-index: 2;
}

.service-box-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 193, 7, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 36px;
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.4);
}

.service-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffc107;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.service-box p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.6;
    min-height: 48px;
    /* Ensure consistent height for alignment */
}

.service-box-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: #ffc107;
    transition: all 0.3s;
}

.service-box:hover .service-box-link {
    color: #fff;
    gap: 12px;
}

@media (max-width: 991px) {
    .services-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-box-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        height: 220px;
    }
}

/* Features Section - Blue Numbers, Black Text */
.features-section {
    background: var(--light);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px;
}

.feature-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-item p {
    color: #333;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 2px solid var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 15px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.feature-item h4 {
    margin: 10px 0;
}

.feature-item p {
    color: var(--gray);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--secondary);
    color: var(--white);
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-page {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.testimonials-page .testimonial-card {
    background: var(--light);
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 15px;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 14px;
}

.testimonials-page .testimonial-content {
    color: var(--dark);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: var(--white);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.8), rgba(193, 53, 132, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    font-size: 2.5rem;
    color: var(--white);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.about-box {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}

.about-box i {
    font-size: 80px;
    color: var(--primary);
}

.about-box h3 {
    margin-top: 20px;
}

.about-box p {
    color: var(--gray);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 26px;
    color: var(--white);
}

/* Areas Section */
.areas-section {
    padding: 80px 0;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.area-tag {
    background: var(--light);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
}

.area-tag.primary {
    background: var(--primary);
    color: var(--white);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-container h2 {
    margin-bottom: 30px;
}

.contact-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-card i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 3px;
}

.contact-card strong {
    display: block;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray);
    margin: 0;
}

.contact-card a {
    color: var(--gray);
}

.map-container {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-form {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Blog */
.blog-section {
    padding: 80px 0;
    background: var(--light);
}

.blog-page {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-content h3 a {
    color: var(--secondary);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 15px;
}

/* Post */
.post-section {
    padding: 80px 0;
}

.post-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.post-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.post-image img {
    width: 100%;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-body {
    font-size: 17px;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 15px;
}

.post-body h2,
.post-body h3 {
    margin: 30px 0 15px;
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.post-sidebar {}

.sidebar-widget {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    margin-bottom: 15px;
}

.recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: var(--dark);
    font-weight: 500;
    display: block;
}

.recent-posts span {
    color: var(--gray);
    font-size: 13px;
}

.cta-widget {
    background: var(--primary);
    color: var(--white);
}

.cta-widget h4 {
    color: var(--white);
}

.cta-widget p {
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Service Detail */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: var(--white);
    margin-bottom: 30px;
}

.service-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-cta {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
}

.service-cta h4 {
    margin-bottom: 10px;
}

.service-cta p {
    color: var(--gray);
    margin-bottom: 15px;
}

.service-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.service-links li:last-child {
    border-bottom: none;
}

.service-links a {
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-links a:hover {
    color: var(--primary);
}

.contact-widget p {
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Error Page */
.error-section {
    padding: 100px 0;
    text-align: center;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--primary);
    line-height: 1;
}

.error-content h2 {
    margin-bottom: 15px;
}

.error-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-contact {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Page Header with Background */
.service-page-header {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Service Image in Detail Page */
.service-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Improved Hero Text Readability */
.hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.page-header h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}