/* Custom styles for Huzur Koyu website */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll from off-screen mobile menu */
}

/* Header accessibility and elder-friendly adjustments */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: #fff;
    color: #1f2937;
    border-radius: 0.375rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1000;
}
.logo{
    z-index: 40;
}
.logo img{
    width: 100px;
    height: 100px;
}
.site-title {
    line-height: 1.05;
}

.nav-list .nav-link {
    font-size: 1.125rem; /* ~18px */
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

/* Ensure desktop nav shows by default */
.nav-list { display: flex; }
.nav-list .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-list .nav-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #f97316; /* triangle color */
    margin-right: 0.6rem;
    transform: translateY(-1px);
}
.nav-list .nav-link[aria-current="page"]::before,
.nav-list .nav-link:focus::before,
.nav-list .nav-link:hover::before {
    border-bottom-color: #ea580c;
}
.nav-list .nav-link:hover,
.nav-list .nav-link:focus {
    background-color: rgba(249,115,22,0.08);
    outline: none;
    transform: translateY(-2px);
}
.nav-list .nav-link:focus {
    box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}

/* Increase touch targets on small screens */
@media (max-width: 768px) {
    .nav-list { flex-direction: column; gap: 0.5rem; align-items: flex-end; }
    .nav-list .nav-link { font-size: 1.25rem; padding: 0.75rem 1rem; }
}

/* Mobile menu styles */
.mobile-menu-button {
    background: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}
.mobile-menu-button:focus { outline: 3px solid rgba(30,144,255,0.25); border-radius: 0.25rem; }

/* Hide triangle indicator in mobile menu */
#mobile-menu .nav-link::before {
    display: none;
}

/* New Fullscreen Mobile Menu Styles */
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

/* Staggered animation for menu items */
.mobile-menu.open ul li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.3s ease-out forwards;
}

/* Stagger the animation delay for each list item */
.mobile-menu.open ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.open ul li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.open ul li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.open ul li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.open ul li:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu.open ul li:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent body scroll when the menu is open */
body.mobile-menu-is-open {
    overflow: hidden;
}

/* Header wave */
.header-wave {
    width: 100%;
    height: 30px;
    line-height: 0; /* remove whitespace */
    margin-top: -30px; /* pull up to overlap header */
    background-color: transparent;
}
.header-wave svg {
    display: block;
    width: 100%;
    height: 30px;
}

/* Make the wave overlap the hero section by 30px */
.header-wave {
    position: relative;
    z-index: 30; /* above header and hero overlay */
}

/* Pull the hero section up to sit behind the decorative wave */
#hero {
    margin-top: -30px;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: #f97316;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 2rem;
    }
    .section-padding {
        padding: 3rem 0;
    }
    .logo img {
        width: 60px;
        height: 60px;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonial-card {
    background-color: #fef3c7; /* A light, warm yellow/orange */
    border-left: 5px solid #f97316;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    color: #4b5563; /* gray-600 */
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-quote::before {
    content: '“';
    font-size: 3rem;
    color: #fbbf24; /* amber-400 */
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    opacity: 0.8;
}

.testimonial-author {
    font-weight: 700;
    color: #f97316;
}

.footer-columns {
    display: flex;
    gap: 0.5rem;
}
.footer-column {
    width: 50%;
}
@media (max-width: 768px) {
.footer-column {
    width: 100%;
}
.footer-columns {
    flex-direction: column;
}
}