/* ===== CUSTOM STYLES FOR ÖZCAN NAKLİYAT ===== */

/* Color Variables */
:root {
    --primary-color: #00B7B2;
    --primary-dark: #009B96;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    padding-top: 80px; /* Navbar height offset */
}

/* Primary Color Override */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navigation Styles */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: none;
    padding: 1rem 0;
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #ffffff !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-center {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    margin-top: -50px;
}


.hero-right-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.company-name {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: slideInRight 1s ease-out;
}

.company-tagline {
    animation: slideInRight 1s ease-out 0.2s both;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInRight 1s ease-out 0.4s both;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    animation: slideInRight 1s ease-out 0.6s both;
}

.phone-number {
    display: flex;
    align-items: center;
    animation: slideInRight 1s ease-out 0.8s both;
    margin-left: 300px;
}

.hero-buttons {
    animation: slideInRight 1s ease-out 1s both;
}

.hero-features {
    animation: slideInRight 1s ease-out 1.2s both;
}

.feature-card-dark {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down {
    display: inline-block;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-down:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Service Cards */
.service-icon {
    width: 100%;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    padding: 0;
}

.service-icon:hover {
    transform: scale(1.05);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.service-icon:hover img {
    transform: scale(1.1);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 20px;
    min-height: 400px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.card-body {
    padding: 2rem !important;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact Section - Simple Modern Design */
.contact-section {
    background: #ffffff;
    position: relative;
}

/* Simple Contact Design */
.contact-info-simple {
    padding: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-method:last-of-type {
    border-bottom: none;
    margin-bottom: 3rem;
}

.contact-icon-simple {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon-simple.whatsapp {
    background: #25D366;
}

.contact-icon-simple i {
    font-size: 1.2rem;
    color: white;
}

.contact-method:hover .contact-icon-simple {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 183, 178, 0.3);
}

.contact-method:hover .contact-icon-simple.whatsapp {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-value.whatsapp-link:hover {
    color: #25D366;
}

.contact-buttons-simple {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-simple {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.btn-whatsapp-simple {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-simple:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.btn-call-simple {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 25px rgba(0, 183, 178, 0.4);
}

.btn-call-simple:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 183, 178, 0.5);
}

.map-simple {
    padding: 2rem 0;
    text-align: center;
    margin-top: -2rem;
    margin-left: 1rem;
}

.map-title-simple {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.map-subtitle-simple {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.map-container-simple {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    max-width: 100%;
    margin-top: 1rem;
}

/* Mobile Hero Section Fixes */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 60px;
        min-height: 100vh;
    }
    
    .hero-center {
        margin-top: 0;
        padding: 1rem;
    }
    
    .company-name {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem;
    }
    
    .company-tagline {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }
    
    .phone-number {
        margin-left: 0 !important;
        text-align: center;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .phone-number span {
        font-size: 1.2rem !important;
        display: inline;
        line-height: 1.2;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-features {
        margin-top: 1rem;
    }
    
    .feature-card-dark {
        padding: 0.8rem !important;
        margin-bottom: 0.5rem;
    }
    
    .feature-card-dark h6 {
        font-size: 0.8rem !important;
    }
    
    .feature-card-dark p {
        font-size: 0.7rem !important;
    }
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-info-simple {
        padding: 1rem 0;
    }
    
    .contact-method {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .contact-icon-simple {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }
    
    .contact-icon-simple i {
        font-size: 1.1rem;
    }
    
    .contact-buttons-simple {
        flex-direction: column;
    }
    
    .btn-simple {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
        min-width: 140px;
    }
    
    .map-simple {
        padding: 1rem 0;
        margin-top: 0;
        margin-left: 0;
    }
}

/* Accordion Styles */
.accordion-button {
    background-color: var(--white);
    border: 1px solid #dee2e6;
    font-weight: 500;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 183, 178, 0.25);
}

/* Contact Section */
.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 183, 178, 0.1);
    border-radius: 50%;
}

.contact-info h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 24px;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    color: white !important;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
    opacity: 0.3;
}

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

footer h5 {
    color: white !important;
    font-weight: 600;
}

footer p {
    color: white !important;
}

footer a {
    color: white !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffc107 !important;
}

footer i {
    color: white !important;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Background Variations */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Alert Styles */
.alert-info {
    background-color: rgba(0, 183, 178, 0.1);
    border-color: var(--primary-color);
    color: var(--text-dark);
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-card-dark {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
    
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 1rem;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .feature-card-dark {
        padding: 0.75rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Loading Animation for Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* JPG Image Optimization */
img[src$=".jpg"], img[src$=".jpeg"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .navbar,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        padding-top: 0;
        min-height: auto;
    }
}
