/* 
===================================================
SAMSETBAY - Premium Transport Service
Style Sheet
===================================================
*/

:root {
    /* Brand Colors */
    --primary-color: #0A192F; /* Deep Navy Blue */
    --accent-color: #D4AF37; /* Refined Gold */
    --accent-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #F8F9FA;
    --text-muted: #6c757d;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(10, 25, 47, 0.08);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

.left-divider {
    margin: 15px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    font-size: 1.1rem;
    padding: 16px 30px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-call {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-call:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.brand-slogan {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav ul li a {
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.95rem;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.4));
}

.hero-content {
    text-align: center;
    color: var(--bg-white);
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Hero CTA */
.hero-cta {
    margin-top: 30px;
}
.btn-large {
    font-size: 1.3rem;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Floating Phone Widget */
.floating-phone {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.phone-link {
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
    border-radius: 50px;
    padding: 5px 20px 5px 5px;
    color: var(--bg-white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.phone-link:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.phone-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
    position: relative;
    animation: phoneRing 1.5s infinite ease-in-out;
}

.phone-icon-wrapper::before,
.phone-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: phonePulse 2s infinite ease-out;
}

.phone-icon-wrapper::after {
    animation-delay: 0.5s;
}

.phone-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

@keyframes phonePulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(10, 25, 47, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Fleet */
.fleet {
    background-color: var(--bg-white);
}

.fleet-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.fleet-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.fleet-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform 0.5s;
}

.fleet-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    color: var(--bg-white);
    padding: 30px 20px 20px;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Local Focus & Map */
.local-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.local-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.local-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list {
    margin-top: 25px;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--bg-white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer-contact h4,
.footer-social h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.zalo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    margin-left: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .local-content { gap: 30px; }
}

@media (max-width: 991px) {
    .header-container { flex-wrap: wrap; }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        background-color: var(--bg-white);
        border-top: 1px solid #eee;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .mobile-menu-btn { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .fleet-grid { grid-template-columns: 1fr; }
    .local-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.1rem; }
    .form-group { min-width: 100%; }
    #bookingForm .btn { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-name { font-size: 1.2rem; }
    .brand-slogan { font-size: 0.55rem; }
    .logo img { height: 40px; }
}

/* QR Code Section */
.qr-section {
    background-color: var(--bg-white);
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.qr-card {
    text-align: center;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.qr-card:hover {
    transform: translateY(-5px);
}

.qr-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.qr-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.qr-card p {
    color: var(--text-muted);
    font-weight: 500;
}

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

/* Language Switcher */
.lang-switcher select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--bg-white);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-switcher select:hover,
.lang-switcher select:focus {
    border-color: var(--accent-color);
}
