/* ============================================
   RtP Konaklama - Premium Apart & Pansiyon
   Renk: Lacivert (#0A1628) + Altın (#C9A84C) + Krem (#F5F0E8)
   ============================================ */

:root {
    --navy: #0A1628; --navy-light: #142238; --navy-mid: #1E3350;
    --gold: #C9A84C; --gold-light: #D4B76A; --gold-dark: #A88B3A;
    --cream: #F5F0E8; --cream-dark: #E8E0D0; --white: #FFFFFF;
    --text: #2C3E50; --text-light: #6B7B8D;
    --shadow: 0 10px 40px rgba(10,22,40,0.15);
    --shadow-gold: 0 0 30px rgba(201,168,76,0.3);
    --radius: 12px; --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
    background:var(--cream); color:var(--text); line-height:1.7;
    overflow-x:hidden;
}
a { text-decoration:none; color:inherit; transition:var(--transition); }
img { max-width:100%; display:block; }

.container { max-width:1400px; margin:0 auto; padding:0 30px; }

/* ===== LOADER ===== */
.page-loader {
    position:fixed; inset:0; background:var(--navy); z-index:99999;
    display:flex; align-items:center; justify-content:center;
    flex-direction:column; gap:20px;
}
.page-loader .loader-text {
    color:var(--gold); font-size:32px; font-weight:700; letter-spacing:8px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}
.page-loader .loader-bar {
    width:200px; height:2px; background:rgba(201,168,76,0.2); border-radius:2px; overflow:hidden;
}
.page-loader .loader-bar::after {
    content:''; display:block; width:0; height:100%; background:var(--gold);
    animation: loaderFill 2s ease forwards;
}
@keyframes loaderPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
@keyframes loaderFill { to{width:100%} }
.page-loader.hidden { opacity:0; pointer-events:none; transition:opacity 0.8s ease; }

/* ===== HEADER / NAV ===== */
.header {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding:20px 0; transition:var(--transition);
}
.header.scrolled {
    background:rgba(10,22,40,0.95); backdrop-filter:blur(20px);
    padding:12px 0; box-shadow:var(--shadow);
}
.header .container { display:flex; align-items:center; justify-content:space-between; }

.logo { display:flex; align-items:center; gap:12px; }
.logo-img {
    width:48px; height:48px; border-radius:50%; object-fit:cover;
    border:2px solid var(--gold); box-shadow:var(--shadow-gold);
}
.logo-text { color:var(--white); }
.logo-text .logo-main { font-size:22px; font-weight:700; letter-spacing:2px; display:block; }
.logo-text .logo-sub { font-size:10px; color:var(--gold); letter-spacing:4px; text-transform:uppercase; }

.nav { display:flex; align-items:center; gap:8px; }
.nav a {
    color:rgba(255,255,255,0.8); font-size:14px; font-weight:500;
    padding:10px 18px; border-radius:30px; position:relative; overflow:hidden;
}
.nav a::before {
    content:''; position:absolute; inset:0; background:var(--gold);
    border-radius:30px; transform:scaleX(0); transform-origin:left;
    transition:transform 0.4s ease; z-index:-1;
}
.nav a:hover::before, .nav a.active::before { transform:scaleX(1); }
.nav a:hover, .nav a.active { color:var(--navy); }

.nav-cta {
    background:var(--gold); color:var(--navy) !important; font-weight:600 !important;
    padding:12px 28px !important;
}
.nav-cta::before { display:none !important; }
.nav-cta:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:var(--shadow-gold); }

.mobile-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.mobile-toggle span { width:28px; height:2px; background:var(--white); transition:var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity:0; }
.mobile-toggle.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ===== HERO - FULL SCREEN SLIDER ===== */
.hero {
    position:relative; height:100vh; min-height:700px; overflow:hidden;
    display:flex; align-items:center; justify-content:center;
}
.hero-slides { position:absolute; inset:0; }
.hero-slide {
    position:absolute; inset:0; opacity:0; transition:opacity 1.2s ease, transform 8s ease;
    transform:scale(1.1);
}
.hero-slide.active { opacity:1; transform:scale(1); }
.hero-slide img { width:100%; height:100%; object-fit:cover; }
.hero-slide::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.7) 100%);
}

/* Ken Burns efekti */
@keyframes kenBurns {
    0% { transform:scale(1.1) translate(0,0); }
    50% { transform:scale(1.15) translate(-1%,-1%); }
    100% { transform:scale(1.1) translate(0,0); }
}
.hero-slide.active img { animation:kenBurns 8s ease-in-out infinite; }

.hero-content {
    position:relative; z-index:10; text-align:center; color:var(--white);
    max-width:900px; padding:0 30px;
}
.hero-content .hero-label {
    display:inline-block; padding:8px 24px; border:1px solid var(--gold);
    color:var(--gold); font-size:12px; letter-spacing:4px; text-transform:uppercase;
    margin-bottom:30px; border-radius:30px;
    animation: fadeInDown 1s ease 0.3s both;
}
.hero-content h1 {
    font-size:clamp(36px, 6vw, 72px); font-weight:700; line-height:1.1;
    margin-bottom:20px; text-shadow:0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.5s both;
}
.hero-content h1 span { color:var(--gold); }
.hero-content p {
    font-size:clamp(16px, 2vw, 20px); opacity:0.9; margin-bottom:40px;
    animation: fadeInUp 1s ease 0.7s both;
}

@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }

.hero-buttons { display:flex; gap:16px; justify-content:center; animation: fadeInUp 1s ease 0.9s both; }
.btn-gold {
    display:inline-flex; align-items:center; gap:10px;
    padding:16px 40px; background:var(--gold); color:var(--navy);
    font-weight:600; font-size:15px; border-radius:50px;
    border:2px solid var(--gold); transition:var(--transition);
}
.btn-gold:hover { background:transparent; color:var(--gold); transform:translateY(-3px); box-shadow:var(--shadow-gold); }
.btn-outline-gold {
    display:inline-flex; align-items:center; gap:10px;
    padding:16px 40px; background:transparent; color:var(--white);
    font-weight:600; font-size:15px; border-radius:50px;
    border:2px solid rgba(255,255,255,0.4); transition:var(--transition);
}
.btn-outline-gold:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-3px); }

/* Slide navigation dots */
.slide-dots {
    position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
    display:flex; gap:12px; z-index:20;
}
.slide-dot {
    width:40px; height:3px; background:rgba(255,255,255,0.3); border-radius:2px;
    cursor:pointer; transition:var(--transition); border:none;
}
.slide-dot.active { background:var(--gold); width:60px; }

/* Scroll indicator */
.scroll-indicator {
    position:absolute; bottom:80px; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:8px;
    color:rgba(255,255,255,0.6); font-size:11px; letter-spacing:2px; z-index:20;
}
.scroll-indicator .mouse {
    width:24px; height:40px; border:2px solid rgba(255,255,255,0.4); border-radius:12px;
    position:relative;
}
.scroll-indicator .mouse::after {
    content:''; position:absolute; top:8px; left:50%; transform:translateX(-50%);
    width:4px; height:8px; background:var(--gold); border-radius:2px;
    animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel { 0%,100%{top:8px;opacity:1} 50%{top:18px;opacity:0} }

/* ===== BOOKING WIDGET ===== */
.booking-widget {
    background:var(--white); border-radius:var(--radius-lg);
    box-shadow:var(--shadow); padding:30px;
    margin-top:-60px; position:relative; z-index:50;
    display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr auto;
    gap:20px; align-items:end;
}
.booking-field label {
    display:block; font-size:12px; font-weight:600; color:var(--text-light);
    text-transform:uppercase; letter-spacing:1px; margin-bottom:8px;
}
.booking-field input, .booking-field select {
    width:100%; padding:14px 16px; border:2px solid var(--cream-dark);
    border-radius:var(--radius); font-size:15px; color:var(--text);
    background:var(--cream); transition:var(--transition); font-family:inherit;
}
.booking-field input:focus, .booking-field select:focus {
    outline:none; border-color:var(--gold); background:var(--white);
}
.booking-btn {
    padding:16px 36px; background:var(--navy); color:var(--gold);
    font-weight:700; font-size:15px; border:none; border-radius:var(--radius);
    cursor:pointer; transition:var(--transition); white-space:nowrap;
}
.booking-btn:hover { background:var(--gold); color:var(--navy); transform:translateY(-2px); }

/* ===== SECTIONS ===== */
.section { padding:100px 0; }
.section-header { text-align:center; margin-bottom:60px; }
.section-label {
    display:inline-block; color:var(--gold); font-size:12px; font-weight:600;
    letter-spacing:3px; text-transform:uppercase; margin-bottom:16px;
}
.section-title {
    font-size:clamp(28px, 4vw, 42px); font-weight:700; color:var(--navy);
    line-height:1.2; margin-bottom:16px;
}
.section-desc { font-size:17px; color:var(--text-light); max-width:600px; margin:0 auto; }

/* ===== ROOM CARDS ===== */
.rooms-grid {
    display:grid; grid-template-columns:repeat(3, 1fr); gap:30px;
}
.room-card {
    background:var(--white); border-radius:var(--radius-lg); overflow:hidden;
    box-shadow:0 4px 20px rgba(10,22,40,0.08); transition:var(--transition);
    position:relative;
}
.room-card:hover {
    transform:translateY(-10px); box-shadow:var(--shadow);
}
.room-card .room-img-wrap {
    position:relative; overflow:hidden; height:280px;
}
.room-card .room-img-wrap img {
    width:100%; height:100%; object-fit:cover; transition:transform 0.8s ease;
}
.room-card:hover .room-img-wrap img { transform:scale(1.1); }

.room-card .room-badge {
    position:absolute; top:16px; left:16px;
    padding:6px 16px; background:var(--gold); color:var(--navy);
    font-size:11px; font-weight:700; border-radius:20px; z-index:2;
}
.room-card .room-price-tag {
    position:absolute; bottom:16px; right:16px;
    padding:10px 20px; background:var(--navy); color:var(--gold);
    font-size:18px; font-weight:700; border-radius:var(--radius); z-index:2;
}
.room-card .room-price-tag span {
    font-size:12px; font-weight:400; color:rgba(201,168,76,0.7); display:block;
}

.room-info { padding:28px; }
.room-info h3 {
    font-size:20px; font-weight:700; color:var(--navy); margin-bottom:10px;
}
.room-info .room-meta {
    display:flex; gap:16px; margin-bottom:16px;
    font-size:13px; color:var(--text-light);
}
.room-info .room-meta span { display:flex; align-items:center; gap:6px; }
.room-info .room-features {
    display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px;
}
.room-info .room-features span {
    padding:6px 14px; background:var(--cream); color:var(--text-light);
    font-size:12px; border-radius:20px;
}
.room-info .room-bottom {
    display:flex; justify-content:space-between; align-items:center;
    padding-top:16px; border-top:1px solid var(--cream-dark);
}
.room-info .room-rating { color:var(--gold); font-size:14px; }
.room-info .room-rating span { color:var(--text-light); margin-left:4px; }

.btn-room {
    padding:10px 24px; background:transparent; color:var(--navy);
    font-weight:600; font-size:13px; border:2px solid var(--navy);
    border-radius:30px; cursor:pointer; transition:var(--transition);
}
.btn-room:hover { background:var(--navy); color:var(--gold); }

/* ===== AMENITIES ===== */
.amenities-grid {
    display:grid; grid-template-columns:repeat(4, 1fr); gap:24px;
}
.amenity-card {
    background:var(--white); border-radius:var(--radius); padding:40px 30px;
    text-align:center; box-shadow:0 4px 20px rgba(10,22,40,0.06);
    transition:var(--transition); position:relative; overflow:hidden;
}
.amenity-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:var(--gold); transform:scaleX(0); transition:transform 0.4s ease;
}
.amenity-card:hover::before { transform:scaleX(1); }
.amenity-card:hover {
    transform:translateY(-8px); box-shadow:var(--shadow);
}
.amenity-card .amenity-icon {
    width:64px; height:64px; margin:0 auto 20px; border-radius:50%;
    background:var(--cream); display:flex; align-items:center; justify-content:center;
    font-size:28px; transition:var(--transition);
}
.amenity-card:hover .amenity-icon {
    background:var(--gold); transform:rotateY(360deg);
}
.amenity-card h4 { font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.amenity-card p { font-size:14px; color:var(--text-light); line-height:1.6; }

/* ===== GALLERY ===== */
.gallery-grid {
    display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
}
.gallery-item {
    position:relative; border-radius:var(--radius); overflow:hidden;
    aspect-ratio:4/3; cursor:pointer;
}
.gallery-item:nth-child(1) { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s ease; }
.gallery-item:hover img { transform:scale(1.1); }
.gallery-item .gallery-overlay {
    position:absolute; inset:0; background:rgba(10,22,40,0.6);
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-item .gallery-overlay span {
    color:var(--gold); font-size:32px; font-weight:300;
    transform:scale(0); transition:transform 0.4s ease 0.1s;
}
.gallery-item:hover .gallery-overlay span { transform:scale(1); }

/* ===== TESTIMONIALS ===== */
.testimonials { background:var(--navy); color:var(--white); }
.testimonials .section-title { color:var(--white); }
.testimonials .section-desc { color:rgba(255,255,255,0.6); }

.testimonial-slider { position:relative; max-width:800px; margin:0 auto; }
.testimonial-item {
    text-align:center; padding:20px;
}
.testimonial-item .quote-icon {
    font-size:60px; color:var(--gold); opacity:0.3; line-height:1;
    margin-bottom:20px;
}
.testimonial-item p {
    font-size:20px; line-height:1.8; font-style:italic;
    margin-bottom:30px; color:rgba(255,255,255,0.9);
}
.testimonial-item .testimonial-author {
    display:flex; align-items:center; justify-content:center; gap:16px;
}
.testimonial-item .testimonial-author img {
    width:56px; height:56px; border-radius:50%; object-fit:cover;
    border:2px solid var(--gold);
}
.testimonial-item .testimonial-author div { text-align:left; }
.testimonial-item .testimonial-author strong { display:block; font-size:16px; }
.testimonial-item .testimonial-author span { font-size:13px; color:var(--gold); }

/* ===== LOCATION ===== */
.location-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.location-info h3 { font-size:28px; font-weight:700; color:var(--navy); margin-bottom:20px; }
.location-info p { color:var(--text-light); margin-bottom:24px; line-height:1.8; }
.location-features { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:30px; }
.location-features li {
    list-style:none; display:flex; align-items:center; gap:10px;
    font-size:15px; color:var(--text);
}
.location-features li::before {
    content:'✓'; width:24px; height:24px; background:var(--gold);
    color:var(--navy); border-radius:50%; display:flex; align-items:center;
    justify-content:center; font-size:12px; font-weight:700; flex-shrink:0;
}
.location-map {
    border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow);
    height:450px; position:relative;
}
.location-map img { width:100%; height:100%; object-fit:cover; }

/* ===== FOOTER ===== */
.footer { background:var(--navy); color:rgba(255,255,255,0.7); padding:80px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:40px; padding-bottom:60px; }
.footer-brand .logo-text { margin-bottom:20px; }
.footer-brand p { font-size:14px; line-height:1.8; margin-bottom:24px; }
.footer-social { display:flex; gap:12px; }
.footer-social a {
    width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.1);
    display:flex; align-items:center; justify-content:center; color:var(--white);
    font-size:16px; transition:var(--transition);
}
.footer-social a:hover { background:var(--gold); color:var(--navy); transform:translateY(-3px); }

.footer-col h4 {
    color:var(--white); font-size:16px; font-weight:700; margin-bottom:24px;
    position:relative; padding-bottom:12px;
}
.footer-col h4::after {
    content:''; position:absolute; bottom:0; left:0; width:30px; height:2px; background:var(--gold);
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:12px; }
.footer-col ul li a { font-size:14px; transition:var(--transition); display:inline-block; }
.footer-col ul li a:hover { color:var(--gold); padding-left:6px; }

.footer-contact li { display:flex; align-items:flex-start; gap:12px; font-size:14px; margin-bottom:16px; }
.footer-contact li .icon { color:var(--gold); font-size:18px; flex-shrink:0; margin-top:2px; }

.footer-bottom {
    border-top:1px solid rgba(255,255,255,0.1); padding:24px 0;
    display:flex; justify-content:space-between; align-items:center; font-size:13px;
}
#cg-yazilim-display { color:var(--gold); font-weight:600; }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
    .rooms-grid, .amenities-grid { grid-template-columns:repeat(2,1fr); }
    .gallery-grid { grid-template-columns:repeat(2,1fr); }
    .gallery-item:nth-child(1) { grid-column:span 2; grid-row:span 1; }
    .footer-grid { grid-template-columns:repeat(2,1fr); }
    .location-grid { grid-template-columns:1fr; }
    .booking-widget { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
    .nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--navy); flex-direction:column; padding:20px; }
    .nav.active { display:flex; }
    .mobile-toggle { display:flex; }
    .rooms-grid, .amenities-grid { grid-template-columns:1fr; }
    .gallery-grid { grid-template-columns:1fr; }
    .gallery-item:nth-child(1) { grid-column:span 1; grid-row:span 1; }
    .footer-grid { grid-template-columns:1fr; }
    .booking-widget { grid-template-columns:1fr; }
    .hero-content h1 { font-size:32px; }
    .section { padding:60px 0; }
}
