/*
Theme Name: ST Global
Theme URI: https://example.com
Author: AntiGravity
Author URI: https://example.com
Description: Custom WordPress theme converted from React project.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: stglobal
*/
/* ----------------------------------------------------------------
   ST GLOBAL RESTORATION STYLES
   (Restores missing Tailwind classes from original build)
-----------------------------------------------------------------*/

/* Hero/Page Top Padding - Fixes Navbar Overlap */
.st-pt-hero {
    padding-top: 100px !important;
}
@media (min-width: 768px) {
    .st-pt-hero {
        padding-top: 150px !important;
    }
}

/* Countries Grid System */
.st-grid-countries {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .st-grid-countries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .st-grid-countries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .st-grid-countries { grid-template-columns: repeat(5, 1fr); } }

/* Services Grid System */
.st-grid-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .st-grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .st-grid-services { grid-template-columns: repeat(4, 1fr); } }

/* General Utilities */
.st-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.st-text-shadow {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ----------------------------------------------------------------
   ST GLOBAL FINAL LAYOUT FIXES
   (Resolves Header Overlap & Grid Columns)
-----------------------------------------------------------------*/

/* 1. HEADER OVERLAP FIX
   The navbar is fixed, so we need SIGNIFICANT top padding on the hero section.
   We use !important to override any Tailwind classes.
*/
.st-pt-hero {
    padding-top: 180px !important; /* Safe zone for mobile */
}
@media (min-width: 768px) {
    .st-pt-hero {
        padding-top: 220px !important; /* Safe zone for desktop */
    }
}

/* 2. GRID COLUMNS
   User requested "2 or 3 columns". 
   We will force 2 columns on small screens instead of 1.
*/
.st-grid-countries {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns on mobile */
    gap: 1rem;
}
@media (min-width: 768px) { 
    .st-grid-countries { 
        grid-template-columns: repeat(3, 1fr) !important; /* 3 columns on tablet */
    } 
}
@media (min-width: 1024px) { 
    .st-grid-countries { 
        grid-template-columns: repeat(5, 1fr) !important; /* 5 columns on desktop */
    } 
}

.st-grid-services {
    display: grid;
    grid-template-columns: 1fr !important; /* Services need space, keep 1 on really small mobile */
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .st-grid-services {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on large mobile/tablet */
    }
}
@media (min-width: 1024px) { 
    .st-grid-services { 
        grid-template-columns: repeat(4, 1fr) !important; /* 4 columns on desktop */
    } 
}

/* 3. CARD STYLING RESTORATION */
.st-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
