/* Dual Navbar System */

/* Single Navbar System */
.navbar {
    position: fixed;
    top: 60px;
    left: 60px;
    right: 60px;
    width: calc(100% - 120px);
    height: 100px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 1000;
    box-sizing: border-box;
    will-change: transform, background, backdrop-filter, box-shadow;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background 0.15s ease-out, 
                backdrop-filter 0.15s ease-out,
                box-shadow 0.15s ease-out;
}

/* Initial page load - prevent flash */
.navbar.initial-load {
    transition: none !important;
}

/* Normal state - explicit reset */
.navbar:not(.scrolled) {
    top: 60px !important;
    left: 60px !important;
    right: 60px !important;
    width: calc(100% - 120px) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Scrolled state - sticky navbar */
.navbar.scrolled {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* No-hero sayfalarında navbar her zaman scrolled state'te ve transition yok */
body.no-hero .navbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(25px) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3) !important;
    transition: none !important; /* Transition'ları devre dışı bırak */
}

/* No-hero sayfalarında transform asla değişmesin */
body.no-hero .navbar.hide-navbar {
    transform: none !important;
}

/* Scrolled state'te container padding'ini ayarla */
.navbar.scrolled .navbar-container {
    padding: 0 6vw;
}

/* Hide navbar on scroll down */
.navbar.hide-navbar {
    transform: translateY(-100%);
    will-change: transform;
}

/* Mobile scrolled navbar - ayrı class */
.navbar.scrolled.mobile-navbar {
    height: 60px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    padding: 0 6vw;
    box-sizing: border-box;
}

/* Logo/Brand - Sol taraf */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    flex: 0 0 auto;
    margin-right: 3rem;
    width: 120px;
    height: 100px;
    justify-content: flex-start;
}

/* Logo boyutları */
.brand-logo {
    width: auto;
    height: 120px;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state'te logo küçülür ama beyaz kalır */
.navbar.scrolled .brand-logo {
    height: 80px;
    color: white;
}

/* Desktop Menu - Orta */
.desktop-menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #b89b8c, #fff);
    border-radius: 1px;
}

/* Scrolled state'te linkler koyu renk */
.navbar.scrolled .nav-link {
    color: #fff;
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
    color: #b89b8c;
    background: rgba(184, 155, 140, 0.08);
}

.navbar.scrolled .nav-link.active {
    color: #b89b8c;
    background: rgba(184, 155, 140, 0.1);
}

.navbar.scrolled .nav-link.active::after {
    background: linear-gradient(90deg, #b89b8c, #6d4c3d);
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 0.15rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 155, 140, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(109, 76, 61, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    padding: 0.5rem 0;
    margin-top: 0;
}

/* Dropdown hover alanını genişletmek için */
.dropdown {
    position: relative;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 10px;
    background: transparent;
    z-index: 1001;
}

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

.dropdown-item {
    display: block;
    color: #6d4c3d;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
}

.dropdown-item::before {
    content: "›";
    margin-right: 0.5rem;
    font-weight: 600;
    color: #b89b8c;
}

.dropdown-item:hover {
    background: rgba(184, 155, 140, 0.1);
    color: #b89b8c;
    transform: translateX(4px);
}

/* Navbar Actions - Sağ taraf */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Scrolled state'te lang switcher */
.navbar.scrolled .lang-btn {
    color: #fff;
    background: linear-gradient(135deg, #c5a896 0%, #7a5647 100%);
    border: 1px;
}

.navbar.scrolled .lang-btn:hover {
    background: linear-gradient(135deg, #c5a896 0%, #7a5647 100%);
    transform: translateY(-1px);
}

.lang-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 155, 140, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(109, 76, 61, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    min-width: 100px;
}

.language-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6d4c3d;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(184, 155, 140, 0.1);
    color: #b89b8c;
}

.lang-option.active {
    background: rgba(184, 155, 140, 0.15);
    color: #b89b8c;
    font-weight: 600;
}

/* Contact Button */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* Scrolled state'te contact button */
.navbar.scrolled .contact-btn {
    background: linear-gradient(135deg, #b89b8c 0%, #6d4c3d 100%);
    border: none;
    color: white;
}

.navbar.scrolled .contact-btn:hover {
    background: linear-gradient(135deg, #c5a896 0%, #7a5647 100%);
    transform: translateY(-1px);
}

.contact-btn i {
    font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero navbar - white hamburger lines */
.navbar-hero .hamburger-line {
    background: rgba(255, 255, 255, 0.95);
}

/* Scrolled navbar - white hamburger lines */
.navbar.scrolled .hamburger-line {
    background: rgba(255, 255, 255, 0.95);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1051;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(109, 76, 61, 0.1);
    border: 1px solid rgba(109, 76, 61, 0.2);
    border-radius: 8px;
    font-size: 1.8rem;
    color: #6d4c3d;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 1052;
}

.mobile-menu-close:hover {
    background: rgba(109, 76, 61, 0.15);
    color: #b89b8c;
    border-color: rgba(109, 76, 61, 0.3);
}


/* Mobile Navigation */
.mobile-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.mobile-nav-item {
    margin-bottom: 0.3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d4c3d;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    width: 100%;
    min-height: 45px;
    margin-top: -0.5rem;
}

.mobile-nav-link i {
    position: absolute;
    right: 1.5rem;
    font-size: 0.9rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-nav-link:hover {
    background: rgba(184, 155, 140, 0.1);
    color: #b89b8c;
}

.mobile-nav-link.active {
    background: rgba(184, 155, 140, 0.15);
    color: #b89b8c;
    position: relative;
}

.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #b89b8c, #6d4c3d);
    border-radius: 1px;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mobile-dropdown-menu li {
    margin-bottom: 0.25rem;
    width: 100%;
    display: flex;
    justify-content: stretch;
}

.mobile-dropdown-item {
    display: block;
    color: #6d4c3d;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.mobile-dropdown-item::before {
    content: "›";
    margin-right: 0.5rem;
    font-weight: 600;
    color: #b89b8c;
}

.mobile-dropdown-item:hover {
    background: rgba(184, 155, 140, 0.08);
    color: #b89b8c;
}

.mobile-dropdown-item.active {
    background: rgba(184, 155, 140, 0.15);
    color: #b89b8c;
    position: relative;
}

.mobile-dropdown-item.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #b89b8c, #6d4c3d);
    border-radius: 1px;
}

/* Mobile Contact Section - En altta */
.mobile-contact-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mobile-contact-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.mobile-contact-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: #6d4c3d;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(109, 76, 61, 0.15),
        0 2px 8px rgba(109, 76, 61, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(109, 76, 61, 0.1);
    border: 1px solid rgba(184, 155, 140, 0.2);
    overflow: hidden;
}

.mobile-contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-contact-icon:hover {
    transform: translateY(-6px) scale(1.08) rotateZ(2deg);
    box-shadow: 
        0 20px 60px rgba(109, 76, 61, 0.3),
        0 12px 24px rgba(109, 76, 61, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(109, 76, 61, 0.15);
    background: rgba(255, 255, 255, 1);
    color: #b89b8c;
    border-color: rgba(184, 155, 140, 0.4);
}

.mobile-contact-icon:hover::before {
    left: 100%;
}

.mobile-contact-icon:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.mobile-lang-switcher {
    display: none;
}

.mobile-lang-btn {
    color: #6d4c3d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: rgba(184, 155, 140, 0.1);
    color: #b89b8c;
}

.mobile-lang-btn.active {
    background: rgba(184, 155, 140, 0.15);
    color: #b89b8c;
}

.mobile-lang-divider {
    color: #b89b8c;
    font-weight: 600;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar {
        top: 40px;
        left: 40px;
        right: 40px;
        width: calc(100% - 80px);
    }
    
    .navbar.scrolled {
        top: 0;
        left: 40px;
        right: 40px;
        width: calc(100% - 80px);
    }
    
    .desktop-menu {
        display: none;
    }
    
    .contact-btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
      .navbar-container {
        padding: 20px;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
    
    .brand-logo {
        height: 70px;
    }
    
    .navbar.scrolled .brand-logo {
        height: 60px;
    }
      .mobile-menu-content {
        width: 100%;
        max-width: none;
        left: 0;
        right: auto;
    }
    
    .mobile-menu-header {
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .mobile-brand {
        position: absolute;
        left: 0;
    }
    
    .mobile-menu-close {
        position: absolute;
        right: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        height: 80px;
    }
    
    .navbar:not(.scrolled) {
        top: 20px !important;
        left: 20px !important;
        right: 20px !important;
        width: calc(100% - 40px) !important;
    }
    
    .navbar.scrolled {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.scrolled .navbar-container {
        padding: 0 20px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }
      .mobile-nav-container {
        padding: 0 1rem;
    }
    
    .mobile-nav-list {
        padding: 0;
    }
      .mobile-nav-link {
        padding: 1.1rem 1rem;
        font-size: 1.3rem;
    }
      .mobile-contact-section {
        padding: 1.5rem 1rem 1.5rem;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    .navbar.scrolled .brand-logo {
        height: 60px;
    }
      .navbar-container {
        padding: 15px;
    }
    
    .navbar {
        height: 80px;
    }
    
    /* Mobile navbar scrolled height sadece mobile-navbar class'ı varsa */
    .navbar.scrolled.mobile-navbar {
        height: 60px;
    }
    
    /* Desktop scrolled height'ı koru */
    .navbar.scrolled:not(.mobile-navbar) {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 15px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
    }
    
    .navbar:not(.scrolled) {
        top: 15px !important;
        left: 15px !important;
        right: 15px !important;
        width: calc(100% - 30px) !important;
    }
    
    .navbar.scrolled {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.scrolled .navbar-container {
        padding: 0 15px;
    }
    
    .mobile-menu-close {
        top: 10px;
        right: 10px;
        font-size: 1.4rem;
        width: 32px;
        height: 32px;
    }
      .mobile-nav-container {
        padding: 0 0.5rem;
    }
    
    .mobile-nav-list {
        padding: 0;
    }
      .mobile-nav-link {
        font-size: 1.2rem;
        padding: 1.3rem 0.5rem;
    }
      .mobile-contact-section {
        padding: 1rem 0.5rem 1rem;
    }
      .mobile-contact-icons {
        gap: 1.5rem;
    }
    
    .mobile-contact-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        border-radius: 16px;
    }
}

/* Extra small screens - landscape phones */
@media (max-width: 375px) {
    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
    
    .navbar:not(.scrolled) {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
    }
    
    .navbar.scrolled {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.scrolled .navbar-container {
        padding: 0 10px;
    }
    
    .mobile-nav-container {
        padding: 8vh 0.5rem 5vh;
        min-height: 45vh;
    }
      .mobile-nav-link {
        font-size: 1.1rem;
        padding: 1.1rem 0.25rem;
    }
    
    .mobile-contact-section {
        padding: 0.75rem 0.25rem 2.5vh;
        min-height: 12vh;
    }
      .mobile-contact-icons {
        gap: 1rem;
    }
    
    .mobile-contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 14px;
    }
    
    .mobile-menu-close {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}

/* Very short screens - optimize vertical space */
@media (max-height: 600px) {
    .mobile-nav-container {
        padding: 8vh 2rem 5vh;
        min-height: 40vh;
    }
    
    .mobile-contact-section {
        padding: 1rem 2rem 3vh;
        min-height: 15vh;
    }
    
    .mobile-nav-link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-height: 600px) and (max-width: 768px) {
    .mobile-nav-container {
        padding: 6vh 1rem 4vh;
        min-height: 35vh;
    }
    
    .mobile-contact-section {
        padding: 0.75rem 1rem 2.5vh;
        min-height: 12vh;
    }
    
    .mobile-nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* Contact Icon Özel Renkler ve Animasyonlar */
.mobile-contact-icon[href*="tel"] {
    --icon-color: #22c55e;
    --icon-bg: rgba(34, 197, 94, 0.15);
    --icon-shadow: rgba(34, 197, 94, 0.4);
    --icon-rotation: -3deg;
}

.mobile-contact-icon[href*="mailto"] {
    --icon-color: #3b82f6;
    --icon-bg: rgba(59, 130, 246, 0.15);
    --icon-shadow: rgba(59, 130, 246, 0.4);
    --icon-rotation: 3deg;
}

.mobile-contact-icon[href*="whatsapp"], 
.mobile-contact-icon[href*="wa.me"] {
    --icon-color: #25d366;
    --icon-bg: rgba(37, 211, 102, 0.15);
    --icon-shadow: rgba(37, 211, 102, 0.4);
    --icon-rotation: -2deg;
}

.mobile-contact-icon:hover {
    background: var(--icon-bg, rgba(184, 155, 140, 0.1));
    color: var(--icon-color, #b89b8c);
    transform: translateY(-6px) scale(1.08) rotate(var(--icon-rotation, 2deg));
    box-shadow: 
        0 20px 60px var(--icon-shadow, rgba(109, 76, 61, 0.3)),
        0 12px 24px var(--icon-shadow, rgba(109, 76, 61, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.mobile-contact-icon:nth-child(1):hover {
    animation: pulse-phone 0.6s ease-in-out;
}

.mobile-contact-icon:nth-child(2):hover {
    animation: pulse-email 0.6s ease-in-out;
}

.mobile-contact-icon:nth-child(3):hover {
    animation: pulse-whatsapp 0.6s ease-in-out;
}

@keyframes pulse-phone {
    0%, 100% { 
        transform: translateY(-6px) scale(1.08) rotate(-3deg); 
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-8px) scale(1.12) rotate(-5deg); 
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(-4px) scale(1.05) rotate(2deg); 
        filter: brightness(1.05);
    }
}

@keyframes pulse-email {
    0%, 100% { 
        transform: translateY(-6px) scale(1.08) rotate(3deg); 
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-8px) scale(1.12) rotate(5deg); 
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(-4px) scale(1.05) rotate(-2deg); 
        filter: brightness(1.05);
    }
}

@keyframes pulse-whatsapp {
    0%, 100% { 
        transform: translateY(-6px) scale(1.08) rotate(-2deg); 
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-8px) scale(1.12) rotate(-4deg); 
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(-4px) scale(1.05) rotate(3deg); 
        filter: brightness(1.05);
    }
}

/* İkonlara glow efekti */
.mobile-contact-icon:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--icon-color, #b89b8c), transparent, var(--icon-color, #b89b8c));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

/* Tablet boyutları için scrolled navbar düzenlemeleri */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        top: 40px;
        left: 40px;
        right: 40px;
        width: calc(100% - 80px);
    }
    
    .navbar:not(.scrolled) {
        top: 40px !important;
        left: 40px !important;
        right: 40px !important;
        width: calc(100% - 80px) !important;
    }
    
    .navbar.scrolled {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.scrolled .navbar-container {
        padding: 0 40px;
    }
}
