/* 
 * Uzm. Dr. Ali Faik Kaya | Amasya Psikoterapi Merkezi
 * Premium Stylesheet
 */

:root {
    --bg-light: #faf9f6; /* Premium Sıcak Fildişi */
    --bg-alt: #f5f3ef; /* Yumuşak bej geçişi */
    --bg-card: #ffffff; /* Saf beyaz kartlar */
    --border-color: rgba(184, 151, 101, 0.15); /* Altın rengi esintili sınırlar */
    --text-primary: #1a2230; /* Derin prestijli lacivert-siyah */
    --text-secondary: #5c687d; /* Yumuşak alt metin rengi */
    --color-primary: #1a355e; /* Derin Asil Lacivert */
    --color-secondary: #b89765; /* Klasik Pirinç/Altın rengi */
    --color-primary-rgb: 26, 53, 94;
    --color-secondary-rgb: 184, 151, 101;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --radius-full: 9999px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 10px 30px rgba(26, 53, 94, 0.04);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

strong {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 53, 94, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 26px rgba(26, 53, 94, 0.28);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-secondary-glass {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--color-primary);
    box-shadow: var(--box-shadow);
}

.btn-secondary-glass:hover {
    background: var(--bg-alt);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 26px rgba(26, 53, 94, 0.1);
}

.btn-secondary-glass:active {
    transform: translateY(-1px) scale(0.99);
}

/* Top Contact Bar */
.top-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-info i {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Main Header & Navbar */
.main-header {
    background: rgba(250, 249, 246, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(26, 53, 94, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(20, 184, 166, 0.2));
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a:not(.btn-nav-contact)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-secondary);
}

.main-nav a:not(.btn-nav-contact):hover::after,
.main-nav a:not(.btn-nav-contact).active::after {
    transform: scaleX(1);
}

.btn-nav-contact {
    padding: 8px 20px;
    border: 1px solid var(--color-primary) !important;
    border-radius: var(--radius-full);
    color: var(--color-primary) !important;
}

.btn-nav-contact:hover {
    background: var(--color-primary);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 151, 101, 0.16) 0%, rgba(250, 249, 246, 0) 70%);
    z-index: -1;
    filter: blur(50px);
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 60%;
    left: -45%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(26, 53, 94, 0.10) 0%, rgba(250, 249, 246, 0) 70%);
    filter: blur(60px);
}

.hero-bg::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 30%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(184, 151, 101, 0.08) 0%, rgba(250, 249, 246, 0) 75%);
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.sub-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(184, 151, 101, 0.1);
    border: 1px solid rgba(184, 151, 101, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-frame {
    width: 100%;
    max-width: 360px;
    height: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(26, 53, 94, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.hero-doc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.doc-badge {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    box-shadow: 0 10px 25px rgba(26, 53, 94, 0.06);
}

.doc-badge h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--color-primary);
}

.doc-badge span {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--color-primary);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0 auto 20px;
    border-radius: var(--radius-full);
}

.section-header.text-center .divider {
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.about-text-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.text-gradient {
    color: var(--color-secondary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.education-block {
    margin-top: 35px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.education-block h4 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.education-block h4 i {
    color: var(--color-secondary);
}

.education-block ul {
    list-style: none;
}

.education-block li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.education-block li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 0.8rem;
}

.about-details-card .info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--box-shadow);
}

.info-card h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.info-card h3 i {
    color: var(--color-secondary);
}

.badge-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.badge-pill {
    padding: 12px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

.badge-pill:hover {
    background: var(--bg-card);
    border-color: var(--color-secondary);
}

.quote-box {
    border-left: 3px solid var(--color-secondary);
    padding-left: 20px;
    position: relative;
}

.quote-box i {
    font-size: 1.5rem;
    color: rgba(184, 151, 101, 0.15);
    position: absolute;
    top: -10px;
    left: 10px;
}

.quote-box p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--color-secondary);
    box-shadow: 0 18px 40px rgba(26, 53, 94, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 53, 94, 0.05);
    border: 1px solid rgba(26, 53, 94, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.card-link:hover {
    gap: 10px;
}

/* Detailed Sections */
.details-section {
    padding: 100px 0;
}

.details-section.alt-bg {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.details-grid.reverse {
    grid-template-columns: 1fr 1.05fr;
}

.details-content h2 {
    font-size: 2.25rem;
    margin: 15px 0 20px;
    color: var(--color-primary);
}

.details-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.scientific-support, .success-box {
    margin-top: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.scientific-support h4, .success-box h4 {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.scientific-support h4 i { color: var(--color-primary); }
.success-box h4 i { color: var(--color-secondary); }

.scientific-support ul {
    list-style: none;
}

.scientific-support li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

.scientific-support li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.details-image-card, .details-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.details-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(26, 53, 94, 0.05);
}

.details-info-box {
    text-align: left;
}

.details-info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.emdr-visual {
    width: 100%;
    height: 120px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.emdr-bar {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.05);
}

.emdr-dot {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-primary);
    position: absolute;
}

.emdr-dot.left {
    left: 15%;
    animation: eyeMove 3s infinite ease-in-out;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list i {
    font-size: 1rem;
    margin-top: 3px;
}

@keyframes eyeMove {
    0%, 100% { left: 15%; background: var(--color-primary); box-shadow: 0 0 15px var(--color-primary); }
    50% { left: 80%; background: var(--color-secondary); box-shadow: 0 0 15px var(--color-secondary); }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #16213a 0%, #1a355e 60%, #1f3f6e 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 151, 101, 0.14) 0%, rgba(26, 53, 94, 0) 70%);
    filter: blur(40px);
}

.contact-section .section-header h2,
.contact-section .info-item h3 {
    color: #fff;
}

.contact-section .subtitle,
.contact-section .info-item p {
    color: rgba(255, 255, 255, 0.65);
}

.contact-section .info-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.map-card {
    margin-top: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    line-height: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: rgba(26, 53, 94, 0.05);
    border: 1px solid rgba(26, 53, 94, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.work-hours-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.work-hours-card h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.work-hours-card h3 i {
    color: var(--color-secondary);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(26, 53, 94, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

.hours-table tr.highlight-row td {
    color: var(--color-primary);
}

.hours-table tr.highlight-row td:last-child {
    color: var(--color-primary);
}

.hours-table tr.closed-row td:last-child {
    color: #ef4444;
}

/* Footer */
.main-footer {
    background: #111622;
    color: rgba(255, 255, 255, 0.65);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding: 70px 0 50px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--color-secondary);
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 13px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer-contact i {
    color: var(--color-secondary);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.developer-credit {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 0 35px;
    }
}

/* Floating WhatsApp Button */
.wa-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.wa-floating-btn:hover {
    transform: scale(1.08);
}

.wa-badge {
    position: absolute;
    right: 70px;
    background: #1a2230;
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wa-floating-btn:hover .wa-badge {
    opacity: 1;
    transform: translateX(0);
}

.pulse-ring {
    border: 3px solid #25d366;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: waPulse 1.8s infinite ease-out;
    opacity: 0;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* WhatsApp Chat Drawer */
.wa-chat-drawer {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 360px;
    height: 480px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(26, 53, 94, 0.12);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.wa-chat-drawer.hidden {
    transform: scale(0) translate(50px, 50px);
    opacity: 0;
    pointer-events: none;
}

.wa-chat-header {
    background: var(--color-primary);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    color: #ffffff;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    position: relative;
}

.wa-online-dot {
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.wa-chat-header-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.wa-chat-header-text p {
    font-size: 0.75rem;
    color: #25d366;
    font-weight: 600;
}

.wa-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    cursor: pointer;
}

.wa-chat-body {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wa-message {
    max-width: 85%;
    display: flex;
    flex-direction: column;
}

.wa-message.wa-received {
    align-self: flex-start;
}

.wa-message.wa-sent {
    align-self: flex-end;
}

.wa-message-content {
    padding: 10px 14px;
    font-size: 0.88rem;
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(26, 53, 94, 0.03);
}

.wa-received .wa-message-content {
    background: #ffffff;
    color: var(--text-primary);
    border-top-left-radius: 0;
}

.wa-sent .wa-message-content {
    background: #d9ebd3;
    color: #1a2230;
    border-top-right-radius: 0;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.68rem;
    opacity: 0.5;
    margin-top: 5px;
}

.wa-typing-indicator {
    align-self: flex-start;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border-top-left-radius: 0;
    display: flex;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(26, 53, 94, 0.03);
}

.wa-typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: waTyping 1.2s infinite ease-in-out;
}

.wa-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

.wa-chat-footer {
    padding: 12px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.wa-chat-footer input {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
}

.wa-chat-footer input::placeholder {
    color: var(--text-secondary);
}

.wa-chat-footer button {
    width: 38px;
    height: 38px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.wa-chat-footer button:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .details-grid.reverse {
        grid-template-columns: 1fr;
    }
    
    .details-grid.reverse .details-content {
        order: 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
