/* ==========================================================================
   PADRON Premium Corporate Styles
   ========================================================================== */

:root {
    /* Color Palette - Premium Light Theme */
    --color-bg-primary: #FAF9F6;
    /* Pearl/Off-white */
    --color-bg-secondary: #F0EFEB;
    /* Warm Stone Light */
    --color-bg-tertiary: #E6E5E1;
    /* Warm Stone Darker */

    --color-text-main: #1A1A1A;
    /* Dark Charcoal */
    --color-text-muted: #555555;
    /* Soft Gray */

    --color-accent-teal: #0D3B3A;
    /* Deep Teal */
    --color-accent-gold: #B88E5E;
    /* Refined Gold/Bronze */
    --color-gold-light: #D4B28C;

    --color-white: #FFFFFF;
    --color-surface: rgba(255, 255, 255, 0.7);
    /* For glass effects */

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Effects & Shadows */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(13, 59, 58, 0.1);
    --glass-blur: blur(20px);

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;

    /* Layout */
    --container-width: 1280px;
    --spacing-section: 3rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-main);
    background-color: var(--color-bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    font-weight: 300;
}

.text-gold {
    color: var(--color-accent-gold);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--spacing-section) 0;
    position: relative;
    z-index: 1;
}

.bg-secondary {
    background-color: var(--color-bg-secondary);
}

.section-header {
    max-width: 800px;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.25rem;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    overflow: hidden;
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background-color: var(--color-accent-teal);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #082928;
    box-shadow: 0 10px 20px -10px rgba(13, 59, 58, 0.4);
}

.btn-gold {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
    box-shadow: 0 10px 20px -10px rgba(184, 142, 94, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent-teal);
    border-color: var(--color-accent-teal);
}

.btn-outline:hover,
.btn-outline.btn-spotlight {
    background-color: var(--color-accent-teal);
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.35);
    /* semi-transparent glass background */
    backdrop-filter: blur(12px);
    /* backdrop blur effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* subtle border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(26, 26, 26, 0.9);
    /* Dark background to match hero / theme */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    z-index: 101;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    /* small shadow for dark bg */
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-logo span {
    font-family: var(--font-heading);
    font-weight: 600;
    /* slightly bolder */
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    /* High contrast */
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    /* visibility */
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-white);
    /* high-contrast color */
    font-size: 1rem;
    font-weight: 500;
    /* slightly bolder font weight */
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* extra readability */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    /* slightly thicker */
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-accent-gold);
    /* glow accent */
}

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

.nav-link:hover {
    color: var(--color-accent-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    z-index: 101;
}

/* ==========================================================================
   Hero / Spotlight Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
    background-color: var(--color-bg-primary);
    background-image: url('../assets/img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* Dark overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.45) 100%);
    /* gradient overlay from left side */
    z-index: 1;
}

/* Add subtle vignette effect on edges */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 2;
}


.hero .container {
    position: relative;
    z-index: 10;
}

.hero h1,
.hero p,
.hero .hero-subtitle {
    color: var(--color-white);
}

.hero .hero-subtitle::before {
    background-color: var(--color-accent-gold);
}


/* Premium Lighting effect */
.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.hero-glow-1 {
    top: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(184, 142, 94, 0.15) 0%, rgba(250, 249, 246, 0) 70%);
}

.hero-glow-2 {
    bottom: 0;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(13, 59, 58, 0.1) 0%, rgba(250, 249, 246, 0) 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 3rem;
    /* background: rgba(0, 0, 0, 0.25); */
    /* translucent dark panel */
    /* backdrop-filter: blur(8px); */
    /* subtle blur effect */
    /* -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); */
    /* depth */
}

@media screen and (max-width: 768px) {
    .hero-content {
        padding: 1rem 0;
    }
}

/* soft lighting effect behind headline */
.hero-content::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    display: inline-block;
    color: var(--color-accent-gold);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-accent-gold);
    margin-right: 15px;
    vertical-align: middle;
}

.hero h1 {
    color: var(--color-accent-teal);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* ==========================================================================
   Company Introduction
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-tertiary);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.9;
    filter: grayscale(20%) contrast(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(13, 59, 58, 0.1);
    z-index: 2;
}

/* Decorative element */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--color-accent-gold);
    border-left: 2px solid var(--color-accent-gold);
    z-index: 0;
}

.about-text h2 {
    color: var(--color-accent-teal);
}

.about-text p {
    margin-bottom: 2rem;
}

/* ==========================================================================
   Services Section (Premium Glass Cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--color-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}


.service-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    background-color: var(--color-bg-tertiary);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card {
    padding: 2.5rem 2rem;
    /* Reduce padding slightly for images */
}


.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ==========================================================================
   Features (Why Choose Us)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-gold);
    border: 1px solid rgba(184, 142, 94, 0.3);
    border-radius: 50%;
    position: relative;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(184, 142, 94, 0.1);
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 1rem;
}

/* ==========================================================================
   Contact Information
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-info {
    padding: 4rem 4rem;
    background-color: var(--color-accent-teal);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.contact-info h2,
.contact-info p,
.contact-info h3,
.contact-info h4 {
    color: var(--color-white);
}

.contact-info p.subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-detail-icon {
    color: var(--color-accent-gold);
    font-size: 1.75rem;
}

.contact-detail-text h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-detail-text p,
.contact-detail-text a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.contact-detail-text a:hover {
    color: var(--color-accent-gold);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: var(--color-bg-tertiary);
    position: relative;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1) opacity(0.8);
    transition: var(--transition-smooth);
}

.contact-map iframe:hover {
    filter: grayscale(0%) contrast(1) opacity(1);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--color-bg-secondary);
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background-color: var(--color-accent-gold);
}

.cta-section h2 {
    color: var(--color-accent-teal);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-text-main);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer .nav-logo span {
    font-family: var(--font-heading);
    font-weight: 600;
    /* slightly bolder */
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    /* High contrast */
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    /* visibility */
}

.footer-brand p {
    margin-top: 2rem;
    max-width: 320px;
    font-size: 1rem;
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 1rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Premium Reveal Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger Effects */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {

    .about-grid,
    .features-grid,
    .contact-wrapper {
        gap: 3rem;
    }

    .footer-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 3rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        padding-top: 6rem;
        overflow: hidden;
        background-color: var(--color-bg-primary);
        background-image: url('../assets/img/hero.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        /* Parallax effect */
    }

    /* Dark overlay for readability */
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.45) 100%);
        /* gradient overlay from left side */
        z-index: 1;
    }

    /* Add subtle vignette effect on edges */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
        pointer-events: none;
        z-index: 2;
    }


    .hero .container {
        position: relative;
        z-index: 10;
    }

    .hero h1,
    .hero p,
    .hero .hero-subtitle {
        color: var(--color-white);
    }

    .hero .hero-subtitle::before {
        background-color: var(--color-accent-gold);
    }


    .hero-subtitle::before {
        display: none;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .about-grid,
    .features-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .contact-info {
        padding: 3rem 1.5rem;
    }

    .contact-detail-item {
        gap: 1rem;
    }

    .contact-detail-icon {
        font-size: 1.5rem;
    }

    .contact-detail-text p,
    .contact-detail-text a {
        font-size: 1.05rem;
        word-break: break-word;
    }

    .contact-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* Enhanced visual richness updates */
.bg-secondary {
    background-color: #F8F7F3;
    /* slightly lighter for premium feel */
}

.service-card {
    border: 1px solid rgba(13, 59, 58, 0.05);
    /* very subtle border */
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(13, 59, 58, 0.15);
    /* More pronounced shadow on hover */
}

@media (max-width: 768px) {
    .hero-actions .btn {
        width: 100%;
    }
}