﻿.hero-section {
    position: relative;
    overflow: hidden;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

    .particle:nth-child(1) {
        left: 10%;
        animation-delay: 0s;
        animation-duration: 8s;
    }

    .particle:nth-child(2) {
        left: 20%;
        animation-delay: 2s;
        animation-duration: 6s;
    }

    .particle:nth-child(3) {
        left: 70%;
        animation-delay: 1s;
        animation-duration: 7s;
    }

    .particle:nth-child(4) {
        left: 80%;
        animation-delay: 3s;
        animation-duration: 5s;
    }

    .particle:nth-child(5) {
        left: 40%;
        animation-delay: 4s;
        animation-duration: 9s;
    }

    .particle:nth-child(6) {
        left: 90%;
        animation-delay: 5s;
        animation-duration: 6s;
    }

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: gentleFloat 4s ease-in-out infinite;
}

    .floating-icon.tree {
        top: 15%;
        left: 15%;
        animation-delay: 0s;
    }

    .floating-icon.home {
        top: 25%;
        right: 20%;
        animation-delay: 1s;
    }

    .floating-icon.pool {
        bottom: 30%;
        left: 10%;
        animation-delay: 2s;
    }

    .floating-icon.security {
        top: 40%;
        left: 5%;
        animation-delay: 3s;
    }

    .floating-icon.garden {
        bottom: 20%;
        right: 15%;
        animation-delay: 4s;
    }

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInDown 1s ease 0.2s both;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .stat-mini:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.25);
    }

.stat-number-mini {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label-mini {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease 0.4s both;
}

    .hero-badge i {
        color: #ffd700;
    }

/* Enhanced Title */
.hero-title {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line-1 {
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
    animation: slideInRight 1s ease 0.6s both;
}

.title-line-2 {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease 0.8s both;
}

/* Subtitle Container */
.hero-subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

.subtitle-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 0.75rem 1.25rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .feature-item i {
        color: var(--accent-color);
    }

/* Enhanced Description */
.hero-description {
    position: relative;
    font-style: italic;
    animation: fadeInUp 1s ease 1.4s both;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0 0.5rem;
}

/* Location Info */
.location-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease 1.6s both;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

    .location-item i {
        color: var(--accent-color);
        font-size: 1.2rem;
    }

/* Enhanced CTA Buttons */
.cta-buttons {
    animation: fadeInUp 1s ease 1.8s both;
    margin-bottom: 2rem;
}

.btn-call-custom {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
}

    .btn-call-custom:hover {
        background: linear-gradient(45deg, #ff5252, #ff6b6b);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    }

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 2s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

    .trust-item i {
        color: var(--accent-color);
    }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 2.2s both;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@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 slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats-bar {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stat-mini {
        padding: 0.75rem 1rem;
    }

    .title-line-1 {
        font-size: 2rem;
    }

    .title-line-2 {
        font-size: 2.5rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .floating-elements {
        display: none;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .location-info {
        flex-direction: column;
        gap: 1rem;
    }
}

.villa-slider-section {
    margin: 0;
    padding: 3rem 0;
    position: relative;
    background-color: var(--bg-secondary);
}

.slider-image-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

    .slider-image-container img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

.carousel-item.active img {
    animation: slideZoom 4s ease-in-out;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient( 45deg, rgba(44, 94, 68, 0.7) 0%, rgba(74, 130, 102, 0.5) 50%, rgba(127, 176, 105, 0.3) 100% );*/
    z-index: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.slider-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 1s ease 0.3s both;
}

.slider-description {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInUp 1s ease 0.6s both;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px !important;
    height: 60px !important;
    background: var(--primary-color) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 2px solid var(--accent-color) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    z-index: 10 !important;
    position: absolute !important;
}

.carousel-control-prev {
    left: 30px !important;
}

.carousel-control-next {
    right: 30px !important;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: var(--secondary-color) !important;
        border-color: var(--accent-color) !important;
        transform: translateY(-50%) scale(1.1) !important;
        opacity: 1 !important;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid var(--accent-color) !important;
        transition: all 0.3s ease;
    }

        .carousel-indicators button.active {
            background-color: var(--accent-color) !important;
            transform: scale(1.2);
        }

        .carousel-indicators button:hover {
            background-color: rgba(255, 255, 255, 0.8);
            transform: scale(1.1);
        }

    .carousel-indicators [data-bs-target] {
        box-sizing: content-box;
        flex: 0 1 auto;
        width: 14px;
        height: 10px;
        padding: 0;
        margin-right: 3px;
        margin-left: 3px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #fff;
        background-clip: padding-box;
        border: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        opacity: .5;
        transition: opacity .6s ease;
    }


.earthquake-safety-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}

    .earthquake-safety-section .container {
        position: relative;
        z-index: 2;
    }

    /* Section Header */
    .earthquake-safety-section .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .earthquake-safety-section .section-title {
        font-size: 3rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 20px;
        animation: fadeInUp 1s ease-out;
    }

    .earthquake-safety-section .section-subtitle {
        font-size: 1.3rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
        animation: fadeInUp 1s ease-out 0.2s both;
    }

/* Güvenlik Kartları */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.safety-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: cardSlideUp 0.8s ease-out forwards;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

    .safety-card:nth-child(1) {
        animation-delay: 0.3s;
    }

    .safety-card:nth-child(2) {
        animation-delay: 0.5s;
    }

    .safety-card:nth-child(3) {
        animation-delay: 0.7s;
    }

    .safety-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    }

.safety-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.safety-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.safety-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px var(--shadow-color);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.highlight-content {
    text-align: center;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

    .highlight-badge i {
        color: var(--accent-color);
    }

.highlight-title {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

/* Teknik Özellikler Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

    .spec-item:hover {
        background: rgba(255,255,255,0.15);
        transform: translateX(5px);
        border-left-color: var(--accent-color);
    }

.spec-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-content strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.spec-content span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Alt Bilgi */
.bottom-info {
    text-align: center;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    animation: fadeInUp 1s ease-out 1.1s both;
}

    .info-badge i {
        font-size: 1.3rem;
    }

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .earthquake-safety-section {
        padding: 60px 0;
    }

        .earthquake-safety-section .section-title {
            font-size: 2.2rem;
        }

    .safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        padding: 30px 20px;
    }

    .highlight-title {
        font-size: 1.6rem;
    }

    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .earthquake-safety-section .section-title {
        font-size: 1.8rem;
    }

    .safety-card {
        padding: 30px 20px;
    }

    .info-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
}

/* Animations */
/*@keyframes slideZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}
*/
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-image-container {
        height: 50vh;
        min-height: 400px;
    }

    .slider-title {
        font-size: 2rem;
    }

    .slider-description {
        font-size: 1.1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .slider-image-container {
        height: 50vh;
        min-height: 400px;
    }

    .slider-title {
        font-size: 2rem;
    }

    .slider-description {
        font-size: 1.1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .title-line-1 {
        display: block;
        font-size: 1.5rem;
        font-weight: 400;
        opacity: 0.9;
        animation: slideInRight 1s ease 0.6s both;
    }

    .title-line-2 {
        display: block;
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: slideInLeft 1s ease 0.8s both;
    }
}


