/* =========================================
   WhiteDay Makine - Premium Corporate Theme
   ========================================= */

:root {
    --primary-color: #1D3A5F; /* Professional Navy */
    --primary-light: #2A4F7C;
    --secondary-color: #2EAADF; /* Action Teal */
    --accent-color: #70C7EC; /* Support Light Blue */
    --text-main: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #1D3A5F;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(46, 170, 223, 0.4);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease-in-out;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px; /* Pill shape */
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-accent {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    box-shadow: var(--shadow-glow);
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

/* Header */
.whiteday-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.whiteday-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(29, 58, 95, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height var(--transition-normal);
}

.whiteday-header.scrolled .header-container {
    height: 70px;
}

.logo img {
    max-height: 60px;
}

/* Navigation */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-list > li > a {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    transition: var(--transition-normal);
}

.nav-list > li > a:hover {
    background: var(--secondary-color);
    color: white;
}

.has-dropdown {
    position: relative;
}

.nav-arrow {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown li a:hover {
    background: var(--bg-alt);
    color: var(--secondary-color);
    padding-left: 1.75rem; /* Slide effect */
}

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

/* --- Pages --- */

/* App Main Wrap */
.main-content {
    min-height: calc(100vh - 80px - 300px); /* Approx viewport - header - footer */
}

/* Footer */
.whiteday-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.brand-col .logo-text {
    color: white;
}

.footer-desc {
    color: #94a3b8;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-info li i {
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-bottom {
    background: var(--primary-light);
    padding: 1.5rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.animate-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsiveness */
@media (max-width: 992px) {
    .header-container {
        /* Mobile structure */
    }
    
    .main-nav {
        display: none; /* simple hidden for now, implemented in JS if needed */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        padding-left: 1rem;
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* --- Home Page Styles --- */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.4));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.news-card-desc {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* References Marquee */
.references-section {
    background: var(--bg-alt);
    padding: 4rem 0;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
}

.marquee-container::before,
.marquee-container::after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 0%, transparent 100%);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content img {
    height: 60px;
    width: auto;
    margin: 0 3rem;
    display: inline-block;
    vertical-align: middle;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-normal);
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- Inner Pages Styles --- */

.page-header {
    background: var(--primary-color);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/anasayfa/fotograf-4.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--accent-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* About Us Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.service-card-btn:hover {
    color: var(--primary-color);
}

/* Service Detail */
.service-detail-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
