/* ===================================
   Genel Stil Tanımlamaları
   =================================== */

:root {
    --primary-color: #0d47a1;
    --secondary-color: #1976d2;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --text-color: #333;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navbar Stilleri
   =================================== */

.navbar {
    padding: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--accent-color) !important;
}

.navbar-nav {
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 1.5rem 1.25rem !important;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ffeb3b);
    transition: width 0.4s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.navbar .btn-warning {
    margin: 0.75rem 0 0.75rem 1rem;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
    background: var(--accent-color);
    color: #000;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.navbar .btn-warning:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.navbar .btn-warning i {
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Navbar Scrolled State */
.navbar.scrolled {
    padding: 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(13, 71, 161, 0.98);
        margin-top: 0.5rem;
        border-radius: 10px;
        padding: 1rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem !important;
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .navbar .btn-warning {
        margin: 1rem 0 0.5rem 0;
        width: 100%;
    }
}

/* ===================================
   Slider Section
   =================================== */

.slider-section {
    margin-top: 76px;
    position: relative;
}

.slider-image {
    height: 75vh;
    min-height: 550px;
    max-height: 800px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-overlay {
    display: none;
}

.carousel-item {
    height: 75vh;
    min-height: 550px;
    max-height: 800px;
}

/* Desktop'ta daha iyi görüntü için */
@media (min-width: 1200px) {
    .slider-image,
    .carousel-item {
        height: 80vh;
        min-height: 600px;
        max-height: 850px;
        background-size: cover;
        background-position: center center;
    }
}

@media (min-width: 1400px) {
    .slider-image,
    .carousel-item {
        height: 85vh;
        min-height: 650px;
        max-height: 900px;
    }
}

/* Main Title Section */
.main-title-section {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.main-title-section h1 {
    animation: fadeInDown 0.8s ease-out;
}

.main-title-section p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-title-section .d-flex {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Slider Animations */
.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s both;
}

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

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 193, 7, 0.9);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 193, 7, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
    border-color: #fff;
    transform: scale(1.2);
}

/* Stats Section Alt */
.stats-section {
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.stat-box-alt {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-box-alt:hover {
    transform: translateY(-5px);
}

/* Page Header (for inner pages) */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    padding: 150px 0 100px;
    margin-top: 76px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

/* Mobile Responsive Slider */
@media (max-width: 991px) {
    .slider-section {
        margin-top: 68px;
    }
    
    .slider-image,
    .carousel-item {
        height: 60vh;
        min-height: 450px;
        background-size: cover;
        background-position: center center;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .slider-image,
    .carousel-item {
        height: 50vh;
        min-height: 400px;
        background-size: cover;
        background-position: center center;
    }
    
    .main-title-section h1 {
        font-size: 2rem;
    }
    
    .main-title-section p {
        font-size: 1.1rem;
    }
    
    .main-title-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
    
    .main-title-section .d-flex {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .slider-image,
    .carousel-item {
        height: 45vh;
        min-height: 350px;
        background-size: cover;
        background-position: center center;
    }
    
    .main-title-section {
        padding: 3rem 0 !important;
    }
    
    .main-title-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem !important;
    }
    
    .main-title-section p {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    .stats-section .display-4 {
        font-size: 2.5rem;
    }
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    background-image: 
        linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(25, 118, 210, 0.95) 100%),
        url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 120px;
    padding-bottom: 50px;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(25, 118, 210, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.animate-fade-in {
    animation: fadeInUp 1s ease;
}

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

.stat-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

/* ===================================
   Service Cards
   =================================== */

.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-card .list-unstyled li {
    padding: 0.5rem 0;
}

/* ===================================
   Feature Box
   =================================== */

.feature-box {
    transition: all 0.3s ease;
    border-radius: 15px;
    background: var(--light-color);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffb300 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

/* ===================================
   About Section
   =================================== */

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-image-grid .image-grid-item img {
    transition: transform 0.3s ease;
}

.about-image-grid .image-grid-item:hover img {
    transform: scale(1.05);
}

/* ===================================
   Testimonial Cards
   =================================== */

.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin: 0;
    opacity: 0.9;
}

#contactForm .form-control,
#contactForm .form-select {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.15);
}

/* ===================================
   Footer
   =================================== */

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ===================================
   Fixed Contact Buttons (Left Side)
   =================================== */

.fixed-contact-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: slideInLeft 0.6s ease-out;
}

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

.contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    overflow: visible;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
    color: white;
}

.contact-btn i {
    font-size: 1.8rem;
    z-index: 2;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    animation: pulse-phone 2s infinite;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
}

/* Quote Button */
.quote-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    animation: pulse-quote 2s infinite;
    border: none;
    cursor: pointer;
}

.quote-btn:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(13, 71, 161, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(13, 71, 161, 0.7);
    }
}

@keyframes pulse-quote {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 193, 7, 0.7);
    }
}

/* Tooltip */
.contact-btn .tooltip-text {
    position: absolute;
    left: 75px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-btn .tooltip-text::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0,0,0,0.9);
}

.contact-btn:hover .tooltip-text {
    opacity: 1;
    left: 80px;
}

/* Ripple Effect */
.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    background: rgba(255,255,255,0.3);
}

.contact-btn:active::before {
    transform: translate(-50%, -50%) scale(1.5);
    transition: transform 0s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fixed-contact-buttons {
        left: 15px;
        bottom: 80px;
        gap: 12px;
    }
    
    .contact-btn {
        width: 55px;
        height: 55px;
    }
    
    .contact-btn i {
        font-size: 1.6rem;
    }
    
    .contact-btn .tooltip-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .fixed-contact-buttons {
        left: 10px;
        bottom: 70px;
        gap: 10px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .contact-btn i {
        font-size: 1.4rem;
    }
}

/* ===================================
   Scroll to Top Button
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.scroll-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: var(--dark-color);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

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

/* ===================================
   Animations
   =================================== */

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

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 40px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-section .row {
        min-height: auto !important;
        padding: 2rem 0;
    }
    
    .stat-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .display-3 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
    }
    
    .service-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Navbar mobil düzenleme */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .display-3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .stat-box h2 {
        font-size: 2rem !important;
    }
    
    .stat-box p {
        font-size: 0.9rem;
    }
    
    .hero-section .row.mt-5 {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
    
    /* Section başlıkları */
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    /* Kartlar */
    .service-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    /* İletişim formu */
    .contact-info .d-flex {
        margin-bottom: 1.5rem !important;
    }
    
    .contact-info i {
        font-size: 1.5rem !important;
    }
}

/* ===================================
   Blog Cards
   =================================== */

.blog-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 15px;
}

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

.blog-card img {
    transition: transform 0.3s ease;
    height: 250px;
    object-fit: cover;
}

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

.blog-card .badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* ===================================
   Map Container
   =================================== */

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* ===================================
   Contact Info Boxes
   =================================== */

.contact-info-box .info-item {
    transition: all 0.3s ease;
}

.contact-info-box .info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.contact-info-box .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

/* ===================================
   Price Quote Modal
   =================================== */

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

#priceQuoteForm .form-control,
#priceQuoteForm .form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#priceQuoteForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.15);
}

#priceQuoteForm .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

#priceQuoteForm .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#priceQuoteForm .btn-success:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.modal-body .alert {
    border-radius: 8px;
    border: none;
    padding: 1rem;
}

.modal-body .alert-info {
    background: #e3f2fd;
    color: #1565c0;
}

.modal-body .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .modal-body {
        padding: 1.5rem;
    }
    
    #priceQuoteForm .btn-success {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.shadow-lg-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-lg-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* ===================================
   Loading Animation
   =================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   Form Message Styles
   =================================== */

.alert {
    border-radius: 10px;
    padding: 1rem;
}

.alert.d-none {
    display: none !important;
}

