/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL values matching the design system */
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 51 71.5% 54.9% / 0.92;
    --primary-foreground: 355.7 100% 97.3%;
    --secondary: 240 10% 3.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 12 76% 61%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 346 77% 49%;
    --radius: 0.5rem;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary)));
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary) / 0.8), hsl(var(--accent) / 0.6));

    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
    --shadow-glow: 0 0 40px hsl(var(--primary) / 0.4);
    --shadow-card: 0 4px 6px -1px hsl(0 0% 0% / 0.1);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}

.min-h-screen {
    min-height: 100vh;
}

.bg-background {
    background-color: hsl(var(--background));
}

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

/* Typography */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: hsl(var(--primary));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
    }
    50% {
        box-shadow: 0 0 30px hsl(var(--primary) / 0.8);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Floating Actions */
#floating-actions {
    position: fixed;
    z-index: 1000;
}

.floating-mobile {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 50;
}

.floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-elegant);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    animation: pulse-glow 2s infinite;
}

.floating-btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.floating-btn-whatsapp:hover {
    background-color: #128c7e;
}

.floating-desktop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

.floating-btn-desktop {
    background-color: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 50px;
    border: none;
    box-shadow: var(--shadow-elegant);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-btn-desktop:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.floating-text {
    font-weight: 600;
    white-space: nowrap;
}

.phone-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 0;
    text-align: center;
}

.phone-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.banner-text {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(13, 18, 30, 0.8), rgba(13, 18, 30, 0.6)), url('src/assets/kalkan-kas-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(var(--background) / 0.9), hsl(var(--background) / 0.7), hsl(var(--background) / 0.9));
}

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary) / 0.2);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
}

.star-filled {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    fill: hsl(var(--primary));
}

.experience-text {
    color: hsl(var(--primary));
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.driver-info {
    margin-bottom: 2rem;
}

.driver-name {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: bold;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.driver-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-width: 200px;
    font-size: 1.1rem;
}

.btn-neon {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 10px 25px hsl(var(--primary) / 0.2);
}

.btn-neon-outline {
    background: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-neon-outline:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
}

.key-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
    margin: 0 auto 0.5rem;
}

.feature-label {
    font-weight: 600;
    color: hsl(var(--primary));
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsl(var(--primary));
    border-radius: 50px;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background: hsl(var(--primary));
    border-radius: 50px;
    animation: pulse 2s infinite;
    margin-top: 0.5rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.section-description {
    font-size: 1.2rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: hsl(var(--secondary));
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.about-card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.about-card-icon i {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.about-card-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.about-card-content p {
    color: hsl(var(--muted-foreground));
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.service-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: hsl(var(--muted-foreground));
}

.service-features li:before {
    content: "✓";
    color: hsl(var(--primary));
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-btn {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.service-btn:hover {
    background: hsl(var(--primary) / 0.9);
    transform: translateY(-2px);
}

.emergency-contact {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: hsl(var(--primary-foreground));
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.emergency-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary-foreground));
}

.emergency-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
}

.emergency-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.emergency-btn-call {
    background: rgba(255, 255, 255, 0.952);
    color: hsl(var(--primary));
}

.emergency-btn-whatsapp {
    background: #25d366;
    color: white;
}

.emergency-btn:hover {
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background: hsl(var(--secondary));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary));
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.contact-card p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.contact-card button {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.contact-card button:hover {
    background: hsl(var(--primary) / 0.9);
}

.contact-form {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.form-submit-btn {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    font-size: 1.1rem;
}

.form-submit-btn:hover {
    background: hsl(var(--primary) / 0.9);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.footer-section p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.25rem 0;
    color: hsl(var(--muted-foreground));
}

.footer-section ul li a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: hsl(var(--primary));
}

.footer-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-btn {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-btn:hover {
    background: hsl(var(--primary) / 0.9);
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border));
    padding: 1rem 0;
    text-align: center;
    color: hsl(var(--muted-foreground));
}

.emergency-banner {
    background: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    padding: 1rem 0;
    text-align: center;
}

.emergency-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.emergency-banner-btn {
    background: white;
    color: hsl(var(--destructive));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.emergency-banner-btn:hover {
    background: hsl(var(--destructive-foreground) / 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-banner {
        display: none;
    }

    .floating-desktop {
        display: none !important;
    }

    .main-content {
        padding-top: 0;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .cta-buttons {
        padding: 0 1rem;
    }

    .key-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .emergency-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }

    .emergency-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }

    .key-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .floating-mobile {
        display: none;
    }

    .main-content {
        padding-top: 3rem;
    }
}