/* ################# CSS Starts ################### */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   THEME 4: CLEANED VERSION - ESSENTIAL CLASSES ONLY
   ========================================
   
   This file contains only the essential classes used on the index page
   and the .dark theme variables that other files inherit from.
   ======================================== */

/* ========================================
   1. COLOR SYSTEM - ROCHKU VARIABLES (ESSENTIAL)
   ======================================== */

/* Global overflow fix to prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

.dark {
    /* SLIDER-INSPIRED COLOR SCHEME - BLACK, WHITE, GREEN */
    --background: #000000; /* Pure black background */
    --foreground: #FFFFFF; /* Pure white text */
    --card: #111111; /* Slightly lighter black for cards */
    --card-foreground: #FFFFFF; /* White text on cards */
    --popover: #111111;
    --popover-foreground: #FFFFFF;
    --primary: #14FF72CB; /* Exact green from slider */
    --primary-foreground: #000000; /* Black text on green */
    --secondary: #222222; /* Dark gray */
    --secondary-foreground: #FFFFFF; /* White text */
    --muted: #111111; /* Dark muted background */
    --muted-foreground: #CCCCCC; /* Light gray text */
    --accent: #14FF72CB; /* Same green for accents */
    --accent-foreground: #000000; /* Black text on green */
    --destructive: #FF4444; /* Red for errors */
    --destructive-foreground: #FFFFFF; /* White text on red */
    --border: #333333; /* Dark gray borders */
    --input: #222222; /* Dark input backgrounds */
    --ring: #14FF72CB; /* Green focus ring */
    --primary-hover: #12E666; /* Darker green for hover */
    --muted-hover: #222222; /* Darker muted for hover */
              
    /* Container Style Variables */
    --container-style: flat; /* Options: flat, glowing, unglowing, glass, shadow */
    --container-border-radius: 0px;
    --container-padding: 30px;
    --container-margin: 0 0 60px 0;
    --container-border: none;
    --container-shadow: 0 2px 4px rgba(0,0,0,0.2);
    --container-glow: none;
    --container-backdrop: none;
    --container-transition: all 0.3s ease;
              
    /* Button Style Variables - SLIDER-INSPIRED */
    --button-style: outline; /* Transparent with border like slider */
    --button-border-radius: 2px;
    --button-padding: 10px 20px;
    --button-font-size: 16px;
    --button-font-weight: 400;
    --button-letter-spacing: normal;
    --button-text-transform: none;
    --button-transition: all 0.3s ease;
    --button-shadow: none;
    --button-hover-shadow: none;
    --button-hover-transform: none;
    --button-border: 2px solid #FFFFFF;
    --button-outline-width: 2px;
              
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    
    /* Typography System - Based on tweakcn */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0em;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
    
    /* Spacing System */
    --spacing-0: 0px;
    --spacing-1: 0.25rem;  /* 4px */
    --spacing-2: 0.5rem;   /* 8px */
    --spacing-3: 0.75rem;  /* 12px */
    --spacing-4: 1rem;     /* 16px */
    --spacing-5: 1.25rem;  /* 20px */
    --spacing-6: 1.5rem;   /* 24px */
    --spacing-8: 2rem;     /* 32px */
    --spacing-10: 2.5rem;  /* 40px */
    --spacing-12: 3rem;    /* 48px */
    --spacing-16: 4rem;    /* 64px */
    --spacing-20: 5rem;    /* 80px */
    --spacing-24: 6rem;    /* 96px */
    --spacing-32: 8rem;    /* 128px */
    
    /* Border Radius */
    --radius-none: 0px;
    --radius-sm: 0.125rem;  /* 2px */
    --radius-base: 0.25rem; /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */
    --radius-3xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    
    /* Z-Index Scale */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-auto: auto;
    
    /* Animation */
    --transition-all: all 0.3s ease;
    --transition-colors: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, text-decoration-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
    --transition-opacity: opacity 0.3s ease;
    --transition-shadow: box-shadow 0.3s ease;
    --transition-transform: transform 0.3s ease;
}

/* ========================================
   2. BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
}

/* ========================================
   3. LAYOUT & CONTAINERS
   ======================================== */

/* Main content container */
.content-container {
    background: var(--background);
    border-radius: var(--container-border-radius);
    box-shadow: var(--container-shadow);
    width: 100%;
    box-sizing: border-box;
    margin: var(--container-margin);
    padding: var(--container-padding);
    border: var(--container-border);
    transition: var(--container-transition);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .content-container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 5px;
    }
}

/* Main content container - no bottom margin to touch footer */
.container.content-container {
    margin-bottom: 0;
}

/* ========================================
   4. HEADER & NAVIGATION
   ======================================== */

/* Logo Container Styles */
.logo-container {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 1001;
    background: transparent;
    padding: 0;
}

.logo img {
    height: 85px;
    transition: height 0.3s ease;
}

/* Menu Container Styles */
.menu-container {
    position: relative;
    z-index: 1000;
}

/* ========================================
   5. FOOTER STYLES
   ======================================== */

.footer {
    background: var(--card);
    color: var(--foreground);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Make disclaimer and footer-bottom span full width */
.footer-disclaimer,
.footer-bottom {
    grid-column: 1 / -1;
    width: 100%;
}

.footer-section h3 {
    color: var(--primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 15px;
}

.footer-contact-info {
    margin-top: 15px;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: var(--muted-foreground);
}

.footer-contact-info p strong {
    color: var(--foreground);
    font-weight: var(--font-weight-semibold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-colors);
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: var(--transition-transform);
}

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

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-contact {
    margin-top: 15px;
}

.footer-contact p {
    margin-bottom: 8px;
    color: var(--muted-foreground);
}

.footer-contact p strong {
    color: var(--foreground);
    font-weight: var(--font-weight-semibold);
}

.footer-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-address p {
    margin-bottom: 5px;
    color: var(--muted-foreground);
}

.footer-address p strong {
    color: var(--foreground);
    font-weight: var(--font-weight-semibold);
}

.footer-disclaimer {
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.footer-disclaimer:empty,
.footer-disclaimer:blank {
    display: none;
}

.footer-disclaimer:has(:empty),
.footer-disclaimer:has(.disclaimer-content:empty) {
    display: none;
}

.footer-section-hidden {
    display: none;
}

.footer-disclaimer h4 {
    color: var(--primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 15px;
}

.footer-disclaimer p {
    color: var(--muted-foreground);
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

.disclaimer-content {
    padding: 0;
}

.footer-bottom {
    background: var(--muted);
    padding: 20px 0;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom:empty,
.footer-bottom:blank {
    display: none;
}

.footer-bottom:has(:empty),
.footer-bottom:has(.footer-bottom-content:empty) {
    display: none;
}

.footer-bottom-content {
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--muted-foreground);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-colors);
}

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

.footer-bottom-links .separator {
    color: var(--border);
}

/* ========================================
   6. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        text-align: left;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h3 {
        text-align: left;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact p {
        text-align: left;
    }
    
    .footer-address {
        text-align: left;
    }
    
    .footer-address p {
        text-align: left;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-links li {
        text-align: left;
    }
    
    .footer-disclaimer {
        margin: 20px 0 0;
        padding: 20px 0;
        text-align: center;
    }
    
    .disclaimer-content {
        padding: 0;
        text-align: center;
    }
    
    .footer-section h3::after {
        width: 30px;
        height: 2px;
        left: 0;
        transform: none;
    }
    
    .footer-bottom {
        margin: 10px 0 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .logo img {
        height: 60px;
    }
    
    .logo-container {
        top: 15px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
        text-align: left;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h3 {
        text-align: left;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact p {
        text-align: left;
    }
    
    .footer-address {
        text-align: left;
    }
    
    .footer-address p {
        text-align: left;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-links li {
        text-align: left;
    }
    
    .footer-bottom-content {
        padding: 0;
    }
    
    .footer-disclaimer {
        margin: 20px 0 0;
        padding: 15px 0;
        text-align: center;
    }
    
    .disclaimer-content {
        padding: 0;
        text-align: center;
    }
    
    .footer-bottom {
        margin: 10px 0 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-container {
        top: 10px;
        left: 15px;
    }
}

/* ========================================
   7. UTILITY CLASSES
   ======================================== */

/* Hide elements */
.hidden {
    display: none !important;
}

/* Text alignment */
.text-center {
    text-align: center;
}

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

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

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-1); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-3 { margin-top: var(--spacing-3); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-5 { margin-top: var(--spacing-5); }
.mt-6 { margin-top: var(--spacing-6); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-1); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-3 { margin-bottom: var(--spacing-3); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-5 { margin-bottom: var(--spacing-5); }
.mb-6 { margin-bottom: var(--spacing-6); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }
.p-5 { padding: var(--spacing-5); }
.p-6 { padding: var(--spacing-6); }

/* ========================================
   8. FLOATING BUTTONS (ESSENTIAL)
   ======================================== */

/* Modern Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    pointer-events: auto;
}

.floating-btn {
    width: 55px;
    height: 55px;
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Dynamic Button Colors - These will be overridden by inline styles from JSON config */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #0D6EFD);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #0D6EFD, #0A5FCC);
}

.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #0D8BD9, #0A6BB3);
}

.linkedin-btn {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.linkedin-btn:hover {
    background: linear-gradient(135deg, #005885, #004066);
}

.share-btn {
    background: var(--primary);
    color: #000000;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--primary);
    color: #000000;
    opacity: 0.8;
}

/* Support for custom button colors from admin */
.floating-btn {
    background: var(--button-color, linear-gradient(135deg, #ffc107, #ffeb3b)) !important;
}

.floating-btn:hover {
    background: var(--button-hover-color, linear-gradient(135deg, #ffeb3b, #ffc107)) !important;
}

/* Toast Notification Styling */
.share-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #111111;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   END OF CLEANED THEME4.CSS
   ======================================== */