/* =====================================================
   BASEMO TYPE-C 240W - PROFESSIONAL LANDING PAGE CSS
   ===================================================== */

:root {
    --primary-color: #ffc107;
    --dark-bg: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --text-color: #333;
}

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

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

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.fw-900 {
    font-weight: 900;
}

.display-3 {
    line-height: 1.2;
}

/* ===== NAVBAR ===== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.navbar-brand i {
    margin-right: 5px;
}

.nav-link {
    margin-left: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease-out;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
/* iPhone 11 & small screens fix */
@media (max-width: 390px) {
    .hero h1 {
        font-size: 2rem;  /* Daha küçük font */
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

.hero .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.price-main {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out;
}

.hero img {
    animation: slideInRight 0.8s ease-out;
    max-height: 500px;
    object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000 !important;
}

.btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white !important;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000 !important;
}

.btn-dark {
    background-color: #2d2d2d;
    border-color: var(--primary-color);
    color: white !important;
}

.btn-dark:hover {
    background-color: var(--primary-color);
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.features h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 60px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h4 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== SPECS SECTION ===== */
.specs {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 20px;
}

.specs h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 900;
    animation: fadeInUp 0.6s ease-out;
}

.spec-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.spec-card:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.spec-card h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.specs .list-unstyled li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.specs .list-unstyled i {
    margin-right: 10px;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffb300 100%);
    color: #000;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.cta .lead {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    animation: fadeInUp 0.7s ease-out;
}

/* ===== CAROUSEL ===== */
.carousel {
    background: #000;
}

.carousel-inner {
    border-radius: 1rem;
    overflow: hidden;
}

.carousel-item {
    transition: opacity 0.6s ease-in-out;
}

/* Carousel frame */
#heroCarousel .carousel-item {
  height: 500px;              /* burada sabit bir “çerçeve” yüksekliği belirliyoruz */
}

/* Image fit */
#heroCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* KIRPMAZ, fotoğrafın tamamını sığdırır */
  background: #000;           /* boş kalan kenarlara arka plan */
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

@media (max-width: 768px) {
   #heroCarousel .carousel-item { height: 320px; }
}


footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

footer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* ===== MODAL ===== */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid rgba(255, 193, 7, 0.2);
    font-weight: 700;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* ===== 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 slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .hero img {
        margin-top: 30px;
        max-height: 300px;
    }
    
    .hero .row {
        flex-direction: column-reverse;
    }
    
    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .features h2,
    .specs h2,
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .spec-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    #heroCarousel .carousel-item { height: 260px; }
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .price-main {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    footer {
        padding: 30px 15px;
    }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== UTILITIES ===== */
.text-warning {
    color: var(--primary-color) !important;
}

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

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}
/* ===== ANCHOR LINK OFFSET ===== */
html {
    scroll-padding-top: 20px;  /* Navbar + extra space */
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 50px;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 50px;
    }
}
/* ===== MOBILE NAVBAR ===== */
.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffc107' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ===== MOBILE MENU AUTO-CLOSE FIX ===== */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.show {
    display: block !important;
}

/* Menu linksine tıklanınca kapat */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:click,
.nav-link:focus {
    /* Otomatik collapse tetikle */
}

/* Mobile'da menu item'leri düzelt */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 20px;
        max-height: 100vh;
        overflow-y: auto;
        z-index: 999;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .nav-link {
        padding: 10px 0;
        color: white !important;
    }
    
    .nav-link:hover {
        color: #ffc107 !important;
    }
}