/* ==========================================================================
   Farrah Mills (مطاحن فراح) - Luxury Coffee Brand Landing Page CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-gold: #D4AF37;
    --primary-gold-hover: #F3C63F;
    --primary-gold-rgb: 212, 175, 55;
    
    --bg-dark: #151515;
    --bg-dark-rgb: 21, 21, 21;
    --bg-darker: #0c0c0c;
    --bg-card: rgba(30, 30, 30, 0.65);
    --bg-card-hover: rgba(45, 45, 45, 0.85);
    
    --secondary-cream: #F6F1E7;
    --secondary-cream-rgb: 246, 241, 231;
    
    --white: #FFFFFF;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    
    /* Layout Spacing */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-sticky: 70px;
    
    /* Typography */
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Poppins', sans-serif;
    
    /* Effects & Shadows */
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --gold-glow-strong: 0 0 35px rgba(212, 175, 55, 0.65);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 20px 45px rgba(212, 175, 55, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--secondary-cream);
    font-family: var(--font-arabic);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
}

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

/* Common Layout Helpers */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-subtitle {
    font-family: var(--font-english);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.header-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 15px auto 0;
    position: relative;
}

.header-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--gold-glow);
}

/* --------------------------------------------------------------------------
   3. Custom Animations (Entrance & Scroll)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-in {
    transform: scale(0.95);
}

.reveal-slide-right {
    transform: translateX(50px);
}

.reveal-slide-left {
    transform: translateX(-50px);
}

/* Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Active reveal class */
.reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.7); }
}

@keyframes arrow-down {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   4. Interactive Button Elements (Ripple Effect)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: var(--gold-glow);
}

.btn-primary:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-3px);
    box-shadow: var(--gold-glow-strong);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Hero Social / Contact Buttons (Luxurious Glass & Glow Theme) */
.btn-hero-whatsapp, .btn-hero-phone, .btn-hero-instagram, .btn-hero-facebook {
    background-color: rgba(30, 30, 30, 0.6);
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.95rem;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-hero-whatsapp:hover {
    background-color: #25D366;
    color: var(--white);
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-hero-phone:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: var(--gold-glow-strong);
}

.btn-hero-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 36, 159, 0.4);
}

.btn-hero-facebook:hover {
    background-color: #1877F2;
    color: var(--white);
    border-color: #1877F2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Ripple Span */
.btn .ripple-effect {
    position: absolute;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   5. Preloader & Scroll Progress
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.preloader-logo {
    width: 180px;
    animation: pulse-glow 2s infinite ease-in-out;
}

.preloader-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 2000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-hover));
    width: 0%;
    box-shadow: 0 0 10px var(--primary-gold);
    transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation (Sticky, Responsive)
   -------------------------------------------------------------------------- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.sticky {
    position: fixed;
    height: var(--header-height-sticky);
    background-color: rgba(21, 21, 21, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.nav-logo {
    width: 50px;
    height: auto;
    transition: var(--transition-smooth);
}

.main-header.sticky .nav-logo {
    width: 42px;
}

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

.brand-name-ar {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1.2;
}

.brand-name-en {
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    color: var(--secondary-cream);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-map-btn {
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 16px !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.05);
}

.nav-map-btn::after {
    display: none;
}

.nav-map-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark) !important;
    border-color: var(--primary-gold);
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    z-index: 1002;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--secondary-cream);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Overlay with coffee-black feel */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(21, 21, 21, 0.75) 0%,
        rgba(21, 21, 21, 0.85) 60%,
        #151515 100%
    );
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-container {
    margin-bottom: 25px;
}

.hero-logo {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
}

.hero-logo.animate-glow {
    animation: pulse-glow 4s infinite ease-in-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-english);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 5px;
}

.hero-slogan {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--secondary-cream);
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    padding-bottom: 15px;
}

.hero-slogan::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.4);
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Scroll Down Icon */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    cursor: pointer;
}

.scroll-arrow {
    width: 6px;
    height: 10px;
    background-color: var(--primary-gold);
    border-radius: 3px;
    animation: arrow-down 2s infinite ease;
}

/* --------------------------------------------------------------------------
   8. About Section ("من نحن")
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about-text-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-description {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.9;
    border-right: 4px solid var(--primary-gold);
    padding-right: 20px;
}

.about-highlight {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-badges {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    flex: 1;
}

.badge-icon {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.badge-title {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Luxury Picture Frame */
.about-image-area {
    display: flex;
    justify-content: center;
}

.luxury-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 480px;
    z-index: 1;
}

.luxury-frame-border {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    z-index: 0;
    transition: var(--transition-smooth);
}

.luxury-frame-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    z-index: 2;
    transition: var(--transition-smooth);
    filter: sepia(30%) brightness(85%);
}

.luxury-frame:hover .luxury-frame-image {
    transform: translate(10px, 10px);
    filter: sepia(0%) brightness(100%);
}

.luxury-frame:hover .luxury-frame-border {
    transform: translate(-10px, -10px);
}

/* --------------------------------------------------------------------------
   9. Categories Section ("أقسامنا")
   -------------------------------------------------------------------------- */
.categories-section {
    background-color: var(--bg-darker);
    position: relative;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.emoji-icon {
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

.card-vector-icon {
    display: none; /* fallback if emojis are replaced */
}

.card-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.card-hover-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

/* Category Card Hover States */
.category-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--card-shadow-hover);
}

.category-card:hover .card-glow {
    opacity: 1;
}

.category-card:hover .card-icon-wrapper {
    background: var(--primary-gold);
    transform: scale(1.1);
    box-shadow: var(--gold-glow);
}

.category-card:hover .emoji-icon {
    transform: scale(0.95);
}

.category-card:hover .card-hover-border {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   10. Why Choose Us Section ("لماذا نحن")
   -------------------------------------------------------------------------- */
.why-us-section {
    background-color: var(--bg-dark);
}

.why-card {
    background: rgba(30, 30, 30, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.why-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Why Choose Us Hover */
.why-card:hover {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-5px);
}

.why-card:hover .why-icon-box {
    background: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: var(--gold-glow);
    transform: rotate(360deg);
}

/* --------------------------------------------------------------------------
   11. CliQ Payment Widget ("الدفع عبر كليك")
   -------------------------------------------------------------------------- */
.payment-section {
    background-color: var(--bg-darker);
    position: relative;
}

.payment-container {
    max-width: 550px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.payment-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(
        circle at 50% 20%,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.cliq-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--gold-glow);
}

.cliq-icon {
    font-size: 2rem;
    color: var(--primary-gold);
}

.payment-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cliq-copy-widget {
    display: inline-flex;
    align-items: center;
    background: rgba(21, 21, 21, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 8px 8px 8px 18px;
    gap: 20px;
    transition: var(--transition-smooth);
}

.cliq-alias {
    font-family: var(--font-english);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.cliq-copy-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    transition: var(--transition-smooth);
}

.cliq-copy-btn:hover {
    background-color: var(--primary-gold-hover);
    transform: scale(1.05);
}

/* Simple Hover Tooltip */
.copy-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    color: var(--bg-dark);
    font-family: var(--font-arabic);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
}

.cliq-copy-btn:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.payment-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Toast Message Style */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--primary-gold);
    color: var(--secondary-cream);
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), var(--gold-glow);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               toast-out 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) 2.6s forwards;
}

@keyframes toast-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   12. Contact & Map Section
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-layout {
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 15px 0;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    transition: var(--transition-smooth);
}

.contact-detail-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(30, 30, 30, 0.6);
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary-gold);
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.detail-link {
    font-family: var(--font-english);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.detail-link:hover {
    color: var(--primary-gold);
}

.contact-buttons-wrapper {
    display: flex;
    gap: 15px;
}

.btn-contact {
    flex: 1;
    border-radius: 12px;
    font-size: 1rem;
    padding: 12px 20px;
}

.btn-whatsapp-direct {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-direct:hover {
    background-color: #20ba59;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Social Media Area */
.social-links-area {
    margin-top: 25px;
}

.social-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

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

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary-cream);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--bg-dark);
}

.instagram-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: transparent;
    color: var(--white);
}

.facebook-btn:hover {
    background-color: #1877F2;
    border-color: transparent;
    color: var(--white);
}

.maps-btn:hover {
    background-color: var(--primary-gold);
    border-color: transparent;
    color: var(--bg-dark);
    box-shadow: var(--gold-glow);
}

/* Google Maps Iframe Setup */
.contact-map {
    display: flex;
    justify-content: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    z-index: 1;
}

.map-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
    transition: var(--transition-smooth);
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(80%) invert(90%) contrast(100%);
    transition: var(--transition-smooth);
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

.map-wrapper:hover .map-border {
    border-color: var(--primary-gold);
}

/* --------------------------------------------------------------------------
   13. Footer Area
   -------------------------------------------------------------------------- */
.footer-area {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 100px;
    height: auto;
}

.footer-brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.footer-brand-slogan {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-designer {
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Floating Action Controls (Phone, WhatsApp, Scroll to Top)
   -------------------------------------------------------------------------- */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0);
}

.floating-btn.visible {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float-btn {
    background-color: #25D366;
    color: var(--white);
    transition-delay: 0.1s;
}

.whatsapp-float-btn:hover {
    background-color: #20ba59;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.phone-float-btn {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    transition-delay: 0.05s;
}

.phone-float-btn:hover {
    background-color: var(--primary-gold-hover);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.back-to-top-btn {
    background-color: rgba(30, 30, 30, 0.8);
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.back-to-top-btn:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border-color: transparent;
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--gold-glow);
}

/* --------------------------------------------------------------------------
   15. Responsive Styling (Media Queries)
   -------------------------------------------------------------------------- */

/* Laptop screens (Under 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* Tablet Landscape (Under 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-logo {
        width: 240px;
    }
}

/* Tablet Portrait (Under 768px) */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* Hamburger & Responsive Navigation Mobile Menu */
    .hamburger-menu {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(12, 12, 12, 0.98);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
        padding: 100px 40px;
        z-index: 1001;
        transition: var(--transition-smooth);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    /* Hero Adjustments */
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    .hero-slogan {
        font-size: 1.15rem;
    }
    
    /* About Frame Position Swap */
    .about-image-area {
        order: -1;
    }
    
    .luxury-frame {
        height: 380px;
        max-width: 380px;
    }
    
    /* Floating buttons placement */
    .floating-controls {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Screens (Under 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 24px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        width: 180px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .about-badges {
        flex-direction: column;
        gap: 15px;
    }
    
    .cliq-copy-widget {
        width: 100%;
        justify-content: space-between;
        padding-right: 12px;
        gap: 10px;
    }
    
    .cliq-alias {
        font-size: 1.25rem;
    }
    
    .contact-buttons-wrapper {
        flex-direction: column;
    }
}
