/* ========================================
   BOLU BEYAZ DIŞ - STYLES
   Version: 1.0.0
   ======================================== */

/* #region FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');
/* #endregion */

/* #region CSS VARIABLES */
:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #22d3ee;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    --bg-body: var(--white);
    --bg-card: var(--white);
    --bg-section: var(--gray-50);

    --text-heading: var(--gray-900);
    --text-body: var(--gray-700);
    --text-muted: var(--gray-500);

    --border-color: var(--gray-200);

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

[data-bs-theme="dark"] {
    --primary: #22d3ee;
    --primary-dark: #06b6d4;
    --primary-light: #67e8f9;

    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-section: #1e293b;

    --text-heading: #f1f5f9;
    --text-body: #e2e8f0;
    --text-muted: #94a3b8;

    --border-color: #334155;

    --bs-body-bg: var(--bg-body);
    --bs-body-color: var(--text-body);
}

/* #endregion */

/* #region BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-body);
    color: var(--text-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-heading);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-body);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* #endregion */

/* #region NAVBAR */
.navbar {
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

[data-bs-theme="dark"] .navbar {
    background-color: var(--bg-card) !important;
    border-bottom-color: var(--border-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 50px;
    width: auto;
}

@media (min-width: 992px) {
    .navbar-logo {
        height: 60px;
    }
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-body) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.2s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--text-body);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

[data-bs-theme="dark"] .theme-toggle-btn {
    background-color: var(--bg-section);
}

/* #endregion */

/* #region HERO */
.hero-wrapper {
    padding-top: 100px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    .hero-wrapper {
        padding-top: 120px;
        padding-bottom: 50px;
    }
}

.hero-box {
    position: relative;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-image: url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.75) 0%, rgba(14, 116, 144, 0.85) 100%);
    z-index: 1;
}

.hero-box .row {
    position: relative;
    z-index: 2;
}

.hero-box h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .hero-box h1 {
        font-size: 3rem;
    }
}

.hero-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-box {
        height: 400px;
        border-radius: var(--radius-lg);
    }
}

.hero-box .btn {
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.hero-box .btn-primary {
    background-color: var(--white);
    color: var(--primary-dark);
    border: none;
}

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

.hero-box .btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-box .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* #endregion */

/* #region SECTIONS */
section {
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-line {
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* #endregion */

/* #region ABOUT */
#about {
    padding: 4rem 0;
    background-color: var(--bg-body);
}

#about img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

#about h2 {
    margin-bottom: 1rem;
}

#about p {
    color: var(--text-body);
    line-height: 1.8;
}

#about ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

#about li {
    padding: 0.5rem 0;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

#about li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

/* #endregion */

/* #region SERVICES */
#services {
    padding: 4rem 0;
    background-color: var(--bg-section);
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--gray-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .icon-box {
    background-color: var(--bg-section);
}

.service-card:hover .icon-box {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* #endregion */

/* #region FAQ */
#faq {
    padding: 4rem 0;
    background-color: var(--bg-body);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-card);
    color: var(--text-heading);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--bg-section);
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-button .text-primary {
    color: var(--primary) !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.75rem;
}

.accordion-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* #endregion */

/* #region CONTACT */
#contact {
    padding: 4rem 0;
    background-color: var(--bg-section);
}

.contact-wrapper {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-column {
    padding: 2rem;
}

@media (min-width: 992px) {
    .contact-form-column {
        padding: 2.5rem;
    }
}

.fixed-height-wrapper {
    height: 900px;
    border-radius: var(--radius);
    background-color: var(--gray-50);
    overflow: hidden;
}

[data-bs-theme="dark"] .fixed-height-wrapper {
    background-color: var(--bg-section);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .contact-info-box {
        padding: 2.5rem;
        min-width: 350px;
    }
}

.contact-info-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-box .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-box .contact-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.15rem;
}

.contact-info-box .contact-item h6 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.contact-info-box .contact-item a,
.contact-info-box .contact-item p {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-info-box .contact-item a:hover {
    text-decoration: underline;
}

.map-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    min-height: 0;
}

.map-iframe-wrapper {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-height: 280px;
    margin-bottom: 1rem;
}

.map-wrapper .btn-light {
    background-color: var(--white);
    color: var(--primary-dark);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.2s ease;
    width: 100%;
    flex-shrink: 0;
}

.map-wrapper .btn-light:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

/* #endregion */

/* #region FOOTER */
footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

footer a {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* #endregion */

/* #region WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    transition: all 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* #endregion */

/* #region RESPONSIVE */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-card);
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .contact-form-column {
        padding: 1.5rem;
    }

    .contact-info-box {
        padding: 1.5rem;
    }

    .fixed-height-wrapper {
        height: 700px;
    }

    .map-iframe-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-box {
        height: 350px;
    }

    .hero-box h1 {
        font-size: 1.75rem;
    }

    .hero-box .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        bottom: 20px;
        right: 20px;
    }
}

/* #endregion */

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

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

.bg-body-tertiary {
    background-color: var(--bg-section) !important;
}

.text-body-secondary {
    color: var(--text-muted) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-bs-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* #endregion */