/* 
    Royal Restaurant - Premium Full Site Overhaul
    Theme: Golden Tan & White
    Ref: royalindiarestaurantphuket.com
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rouge+Script&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary-color: #C59D5F;    /* Golden Tan */
    --secondary-color: #000000;  /* Black */
    --accent-color: #C59D5F;
    --text-primary: #1a1a1a;
    --text-secondary: #676767;
    --bg-white: #ffffff;
    --bg-cream: #fcfcfc;
    --bg-dark: #121212;
    
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Rouge Script', cursive;
    --font-btn: 'DM Sans', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --header-height: 100px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-family: var(--font-btn);
    font-weight: 700;
    text-transform: capitalize;
    font-size: 16px;
    border-radius: 150px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    box-shadow: 0px 10px 30px rgba(197, 157, 95, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: #fff;
}

/* Section Title */
.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-script);
    color: var(--primary-color);
    font-size: 42px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    height: 80vh; 
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Remove ken-burns entirely from hero-slide to prevent overlapping transform issues */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 80px;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
    opacity: 0;
}

.hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
        margin-bottom: 15px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .hero-section {
        height: 60vh;
        min-height: 350px;
    }
}

/* Slide Active Animations */
.swiper-slide-active .hero-subtitle {
    display: inline-block;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.swiper-slide-active .hero-title {
    animation: fadeInUp 1s ease 0.7s forwards;
}

.swiper-slide-active .hero-desc {
    animation: fadeInUp 1s ease 0.9s forwards;
}

@keyframes fadeInUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Scroll Down Mouse */
.scroll-down {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    opacity: 0.6;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

.scroll-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

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

.topbar-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.topbar-info span {
    margin-right: 30px;
}

.topbar-socials a {
    margin-left: 15px;
    color: var(--text-secondary);
}

.topbar-socials a:hover {
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: #fff;
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1;
}

.logo-tag {
    display: block;
    font-size: 11px;
    letter-spacing: 6px;
    padding-left: 2px;
    color: var(--primary-color);
    margin-top: 5px;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin: 0 22px;
}

.nav-list a {
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
    position: relative;
    font-family: var(--font-body);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

/* Section Specific Refinements */
.hero-subtitle {
    font-family: var(--font-script) !important;
    font-size: 38px !important;
    text-transform: capitalize !important;
    letter-spacing: 0 !important;
}

.menu-card-modern {
    transition: var(--transition);
}

.menu-card-modern:hover {
    transform: translateY(-10px);
}

.menu-card-modern img {
    transition: transform 0.6s ease;
}

.menu-card-modern:hover img {
    transform: scale(1.1);
}

.wcu-box {
    transition: var(--transition);
    border: 1px solid transparent;
}

.wcu-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Inner Hero */
.inner-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.inner-hero .hero-overlay {
    background: rgba(0,0,0,0.6);
}

.inner-hero h1 {
    font-size: 64px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.breadcrumb {
    position: relative;
    z-index: 10;
    margin-top: 15px;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb span {
    margin: 0 10px;
    color: #fff;
    opacity: 0.5;
}

/* About Gap Fix */
.about-section.section-padding {
    padding-top: 5px !important;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 100px;
}

.footer-top {
    padding-bottom: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
}

.footer-col h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 35px;
    font-weight: 700;
}

.footer-col p {
    color: #b5b5b5;
    line-height: 1.8;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #252525;
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: #fff;
}

.links-col ul li {
    margin-bottom: 18px;
}

.links-col ul li a {
    color: #b5b5b5;
}

.links-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 25px;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
    margin-top: 5px;
}

.footer-bottom {
    background: #0f0f0f;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #999;
}

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

.footer-bottom a {
    color: var(--primary-color);
}

/* Utilities */
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Responsive Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .topbar-info { display: none; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .about-grid { grid-template-columns: 1fr !important; width: 100%; }
    
    .header-container { flex-direction: row; justify-content: space-between; align-items: center; padding: 15px 20px; }
    .mobile-toggle { display: block !important; }
    
    .nav { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 10px 15px rgba(0,0,0,0.1); display: none; padding: 20px 0; z-index: 999; }
    .nav.active { display: block; }
    
    .nav-list { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; margin: 0; padding: 0 20px; }
    .nav-list li { width: 100%; margin: 0; border-bottom: 1px solid #eee; }
    .nav-list a { display: block; padding: 15px 0; width: 100%; }
    
    .header-action { display: none; }
    
    .section-title { font-size: 30px; word-wrap: break-word; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 24px !important; }
    .section-subtitle { font-size: 32px; }
    .btn { padding: 12px 25px; font-size: 14px; }
    
    .about-img { padding: 0 !important; margin-top: 30px; width: 100%; }
    .exp-badge { transform: scale(0.7); right: 0; bottom: 10px; }
    .wcu-img img { border-width: 5px; width: 100%; }
    .hero-actions { flex-direction: column; gap: 15px; }

    .menu-card-img img { width: 100% !important; }
    .container { overflow-x: hidden; width: 100%; padding: 0 15px; }
}
