:root {
    --dark-blue: #092c5c;
    --light-gray-bg: #f8f9fa;
    --text-dark: #0f2031;
    --text-light-gray: #6c757d;
    --pink: #ed3269;
    --purple: #8A42D1;
    --border-color: #e9ecef;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

/* --- General & Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--white); font-size: 16px; line-height: 1.6; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.btn { padding: 10px 24px; border-radius: 25px; font-weight: 500; font-size: 14px; display: inline-block; text-align: center; border: none; cursor: pointer; }
.btn-pink { background-color: var(--pink); color: var(--white); padding: 12px 25px; border-radius: 8px; font-weight: 500; }
.btn-blue { background-color: var(--dark-blue); color: var(--white); padding: 12px 28px; border-radius: 8px; font-weight: 500; }
.section-title { font-size: 32px; font-weight: 600; color: var(--dark-blue); margin-bottom: 2rem; }

/* --- Mobile Navigation (Initially Hidden) --- */
.hamburger-btn, .mobile-nav, .page-overlay { display: none; } 

/* --- Header (Desktop First) --- */
header { background-color: var(--dark-blue); color: var(--white); position: relative; z-index: 10; }
header > .container { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.15); padding-top: 15px; padding-bottom: 15px;}
.header-left, .header-right { display: flex; align-items: center; gap: 25px; }
.logo { height: 30px; }
.logo-separator { height: 25px; border-left: 1px solid rgba(255, 255, 255, 0.5); }
.primary-nav { display: flex; gap: 15px; }
.primary-nav a { font-size: 16px; font-weight: 500; padding: 5px 10px; position: relative; color: rgba(255, 255, 255, 0.9); }
.primary-nav a.active { font-weight: 600; color: var(--white); }
.primary-nav a.active::after { content: ''; position: absolute; bottom: -16px; left: 10px; right: 10px; height: 3px; background-color: var(--white); }
.top-nav { display: flex; align-items: center; gap: 20px; }
.top-nav a { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; gap: 8px; }
.header-sub-nav { border-bottom: 1px solid rgba(255,255,255,0.15); }
.header-sub-nav .container { padding: 15px 20px; border: none; display: flex; justify-content: space-between; align-items: center;}
.secondary-nav { display: flex; gap: 30px; }
.secondary-nav a { font-size: 15px; color: rgba(255, 255, 255, 0.9); }

/* --- Hero Section --- */
.hero { background-color: var(--dark-blue); color: var(--white); padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero-backgrounds { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: right center; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-bg.active { opacity: 1; }
/* Desktop background images */
.hero-bg-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url('/assets/img/hero-background.png');
  background-size: cover;
  background-position: center;
}

.hero-bg-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url('/assets/img/hero-background-2.png');
  background-size: cover;
  background-position: center;
}


.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 550px; }
.hero-content-slider { display: grid; }
.hero-slide-content { grid-area: 1 / 1 / 2 / 2; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-in-out, visibility 0.5s; }
.hero-slide-content.active { opacity: 1; visibility: visible; }
.hero-slide-content h1 { font-size: 48px; font-weight: 700; line-height: 1.2; }
.highlight-box { background-color: var(--pink); border-radius: 40px; display: inline-block; margin: 30px 0; transform: skewX(-15deg); }
.highlight-box span { display: inline-block; padding: 15px 30px; font-size: 24px; font-weight: 600; transform: skewX(15deg); line-height: 1.3; }
.hero-slide-content p { font-size: 18px; margin-bottom: 15px; max-width: 450px; }
.slider-dots + p { margin-top: 30px; }
.hero-slide-content h2 { font-size: 22px; font-weight: 600; }
.slider-dots { display: flex; gap: 8px; margin-top: 40px; }
.slider-dots .dot { width: 15px; height: 6px; background-color: rgba(255, 255, 255, 0.5); border-radius: 3px; cursor: pointer; }
.slider-dots .dot.active { width: 30px; background-color: var(--white); }
.play-button { position: absolute; top: 70px; right: 260px; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.2); border: 2px solid var(--white); border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 3; }
.play-button svg { color: var(--white); width: 16px; height: 16px; margin-left: 3px; }

/* --- Privileges Section --- */
.privileges { padding: 80px 0; background-color: var(--light-gray-bg); } .privileges .section-title { text-align: center; } .privileges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; } .privilege-card { background-color: var(--white); padding: 40px 30px; text-align: center; border: 1px solid var(--border-color); border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); } .privilege-card img { height: 120px; margin-bottom: 20px; } .privilege-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 15px; } .privilege-card p { color: var(--text-light-gray); font-size: 15px; line-height: 1.7; margin-bottom: 25px; min-height: 102px; } .privilege-card a { color: var(--dark-blue); font-weight: 500; text-decoration: underline; }

/* --- Advantages Section --- */
.advantages { padding: 80px 0; } .advantages .container { display: flex; align-items: center; gap: 60px; } .advantages-content { flex: 1; } .advantages-image { flex: 1; } .advantages-image img { max-width: 100%; } .advantages-list { margin-top: 30px; margin-bottom: 40px; } .advantages-list li { display: flex; align-items: center; gap: 20px; font-size: 18px; margin-bottom: 20px; } .list-number { width: 40px; height: 40px; background-color: var(--purple); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }

/* --- Savings Section --- */
.savings { padding: 80px 0; } .savings .container { display: flex; align-items: center; gap: 60px; } .savings-image { flex: 1; } .savings-image img { max-width: 100%; } .savings-content { flex: 1.2; } .checklist { margin: 30px 0 40px; } .checklist li { display: flex; align-items: flex-start; gap: 15px; font-size: 18px; margin-bottom: 15px; } .checklist svg { fill: var(--purple); width: 24px; height: 24px; flex-shrink: 0; margin-top: 4px; }

/* --- FAQ Section --- */
.faq { padding: 80px 0; background-color: var(--light-gray-bg); } .faq .container { display: flex; align-items: center; gap: 60px; } .faq-content { flex: 1.2; } .faq-image { flex: 1; text-align: right; } .faq-image img { max-width: 80%; } .accordion details { border-bottom: 1px solid var(--border-color); padding: 20px 0; } .accordion summary { font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; } .accordion summary::-webkit-details-marker { display: none; } .accordion summary .chevron { width: 10px; height: 10px; border-style: solid; border-width: 0 2px 2px 0; border-color: var(--text-dark); display: inline-block; transform: rotate(45deg); transition: transform 0.2s; } details[open] summary .chevron { transform: rotate(-135deg); } .accordion details p { padding-top: 15px; color: var(--text-light-gray); } .read-all { display: inline-block; margin-top: 30px; font-weight: 500; color: var(--dark-blue); text-decoration: underline; }

/* --- Footer --- */
footer { background-color: var(--dark-blue); color: var(--white); padding: 50px 0 20px; font-size: 14px; } .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; } .footer-logo-bic { display: flex; flex-direction: column; gap: 20px; } .footer-logo { width: 120px; } .bic-code { font-weight: 600; } .footer-links { display: flex; gap: 60px; flex-wrap: wrap; } .link-column { display: flex; flex-direction: column; gap: 15px; } .link-column a { color: rgba(255, 255, 255, 0.8); white-space: nowrap; } .link-column a:hover { color: var(--white); } footer hr { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.2); margin: 30px 0; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .social-icons { display: flex; gap: 10px; } .social-icons img { width: 32px; height: 32px; } .copyright { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.8); } .is-bankasi-logo { height: 25px; border-left: 1px solid rgba(255, 255, 255, 0.5); padding-left: 20px; }


/******************************************/
/*          RESPONSIVE STYLES             */
/******************************************/

/* --- TABLET & MOBILE: Screens up to 992px --- */
@media (max-width: 992px) {
    /* --- HEADER --- */
    .primary-nav, .logo-separator, .top-nav, .header-sub-nav { display: none; }
    header > .container { border-bottom: none; }
    .header-left { flex-grow: 1; }
    .header-right { gap: 15px; }
    .hamburger-btn { display: flex; }

    /* --- General Content --- */
    .section-title { font-size: 28px; }
    .privileges-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages .container, .savings .container, .faq .container { flex-direction: column; gap: 40px; }
    .savings .container { flex-direction: column-reverse; }
    .advantages-image, .savings-image, .faq-image { text-align: center; }
    .advantages-image img, .savings-image img { max-width: 450px; }
    .faq-image img { max-width: 350px; }
    .footer-links { gap: 40px; }

    /* --- Mobile Nav Panel --- */
    body.nav-open { overflow: hidden; }
    .hamburger-btn { flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 20; }
    .hamburger-btn span { width: 25px; height: 3px; background: var(--white); border-radius: 2px; }
    .mobile-nav { display: block; position: fixed; top: 0; left: -100%; width: 80%; max-width: 320px; height: 100%; background: var(--dark-blue); z-index: 100; transition: left 0.3s ease-in-out; padding: 60px 30px 30px; overflow-y: auto; }
    .page-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
    body.nav-open .page-overlay { opacity: 1; visibility: visible; }
    body.nav-open .mobile-nav { left: 0; }
    .nav-close-btn { position: absolute; top: 15px; right: 20px; font-size: 36px; line-height: 1; color: var(--white); background: none; border: none; cursor: pointer; }
    .mobile-nav-content a { display: block; color: var(--white); font-size: 18px; padding: 12px 0; }
    .mobile-nav-content hr { border: none; height: 1px; background: rgba(255, 255, 255, 0.2); margin: 10px 0; }
}


/* --- SMALL MOBILE: Screens up to 768px --- */
@media (max-width: 768px) {
    /* --- HEADER --- */
    header > .container { padding-top: 10px; padding-bottom: 10px; }
    .login-btn { font-size: 13px; padding: 10px 15px; white-space: nowrap; }

    /* --- HERO --- */
    .hero { padding: 40px 0 60px; }
    /* This is the key change: limit content width to make space for the background image */
    .hero-content { max-width: 60%; text-align: left; }
    .hero-slide-content h1 { font-size: 22px; line-height: 1.3; }
    .hero-slide-content h2 { font-size: 16px; font-weight: 500; }
    .hero-slide-content p { font-size: 13px; line-height: 1.5; }
    .highlight-box { 
        transform: skewX(-10deg); 
        margin: 20px 0; 
        border-radius: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 90% 100%, 0 100%);
    }
    .highlight-box span { transform: skewX(10deg); font-size: 13px; font-weight: 500; padding: 8px 12px; }
    .slider-dots { justify-content: flex-start; margin-top: 25px; gap: 6px; }
    .slider-dots .dot { width: 8px; height: 8px; background-color: transparent; border: 1px solid var(--white); border-radius: 50%; opacity: 0.7; }
    .slider-dots .dot.active { width: 8px; background-color: var(--white); opacity: 1; }
    .play-button { display: grid; top: 50%; right: 15%; transform: translateY(-50%); width: 36px; height: 36px; }
    .play-button svg { width: 14px; height: 14px; }
    
    .hero-bg-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('/assets/img/hero-background-mobile.png');
    background-size: cover;
    background-position: center;
  }

  .hero-bg-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('/assets/img/hero-background-2-mobile.png');
    background-size: cover;
    background-position: center;
  }

    /* --- General Content --- */
    .section-title { font-size: 24px; }
    .privileges, .advantages, .savings, .faq { padding: 60px 0; }
    .btn-blue { display: block; margin: 0 auto; width: 90%; max-width: 300px; }
    .privileges-grid { grid-template-columns: 1fr; }
    .privileges .section-title { text-align: center; }
    .advantages .section-title, .savings .section-title, .faq .section-title { text-align: left; }
    .advantages-image, .faq-image { display: none; }
    .savings .container { flex-direction: column; }
    .savings .btn-blue { margin-left: 0; }
    .accordion summary { font-size: 16px; text-align: left;}

    /* --- Footer --- */
    .footer-top, .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-links { flex-direction: column; gap: 0; align-items: center; }
    .link-column a { padding: 8px 0; }
    .copyright { flex-direction: column; gap: 15px; }
    .is-bankasi-logo { border: none; padding: 0; }
}