/* ==========================================================================
   Sunbeam Agency [SBA] - Custom Stylesheet
   Inspired by sphericalwaves.com
   ========================================================================== */

:root {
    --bg-light: #F6F4F0;
    --bg-dark: #0C0C0B;
    --color-light: #161615;
    --color-dark: #F5F4F0;
    --accent: #04B2A1;
    --accent-gold: #04B2A1;
    --text-muted-light: #5E5D59;
    --text-muted-dark: #A5A4A0;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-faktum: 'Faktum Test', 'Faktum', 'Faktum Bold', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease-out;
}

/* Base resets & styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-light);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--color-dark);
}

/* Typography helper classes */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.text-gold { color: var(--accent); }

/* Hide scrollbar for clean UI if needed */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
body.dark-mode ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Custom Mouse Cursor
   ========================================================================== */
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(4, 178, 161, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-cursor-text {
    font-size: 8px;
    letter-spacing: 1px;
    color: var(--bg-dark);
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease-out;
}

/* Cursor hover interactions */
body.hover-link .custom-cursor {
    width: 60px;
    height: 60px;
    background-color: rgba(4, 178, 161, 0.1);
    border-color: var(--accent);
}
body.hover-card .custom-cursor {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    border-color: var(--accent);
}
body.hover-card .custom-cursor-text {
    opacity: 1;
}
body.hover-card .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

/* Hide custom cursor on mobile */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
}

/* ==========================================================================
   Intro Loader
   ========================================================================== */
.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}

.intro-loader.fade-out {
    transform: translateY(-100%);
}

.intro-visual {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-sun {
    width: 100%;
    height: 100%;
}

.sun-ray {
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
    transform-origin: center;
    animation: pulseRay 3s infinite ease-in-out;
}

.ray-1 { animation-delay: 0s; }
.ray-2 { animation-delay: 0.5s; }
.ray-3 { animation-delay: 1s; }
.ray-4 { animation-delay: 1.5s; }

@keyframes pulseRay {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        stroke: var(--accent-gold);
    }
}

.intro-text {
    display: flex;
    gap: 10px;
}

.intro-word {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--color-dark);
    opacity: 0;
    transform: translateY(20px);
    animation: introFadeIn 1s forwards ease-out;
}

.intro-word:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes introFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    mix-blend-mode: difference;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark); /* Blend mode handles color invert */
    font-family: var(--font-faktum);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.logo-accent {
    font-family: var(--font-faktum);
    font-weight: 700;
    font-style: normal;
    color: var(--color-dark) !important; /* displays as black because header uses mix-blend-mode */
}

.logo-divider {
    margin: 0 8px;
    opacity: 0.5;
}

.logo-text {
    font-family: var(--font-faktum);
    font-weight: 700;
    font-style: normal;
}

.nav-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 24px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.bar {
    height: 1.5px;
    background-color: var(--color-dark);
    transition: var(--transition-medium);
}

.bar-top { width: 100%; }
.bar-mid { width: 75%; }
.bar-bot { width: 50%; }

.nav-toggle:hover .bar-mid,
.nav-toggle:hover .bar-bot {
    width: 100%;
}

/* Active hamburger state */
.menu-open .bar-top {
    transform: translateY(11.5px) rotate(45deg);
    width: 100%;
}
.menu-open .bar-mid {
    opacity: 0;
}
.menu-open .bar-bot {
    transform: translateY(-11px) rotate(-45deg);
    width: 100%;
}

/* ==========================================================================
   Fullscreen Menu Overlay
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.menu-overlay.active {
    visibility: visible;
}

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.menu-overlay.active .menu-background {
    transform: translateY(0);
}

.menu-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease 0.4s, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.menu-overlay.active .menu-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.overlay-nav ul {
    list-style: none;
}

.overlay-nav li {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.menu-link {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: var(--color-dark);
}

.link-num {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-right: 1.5rem;
}

.link-label {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    transition: var(--transition-medium);
}

.menu-link:hover .link-label {
    transform: translateX(15px);
    color: var(--accent);
    font-style: italic;
}

.menu-contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 4rem;
    color: var(--text-muted-dark);
}

.info-group {
    margin-bottom: 2.5rem;
}

.info-group h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-dark);
    margin-bottom: 0.8rem;
}

.info-group p {
    font-size: 1rem;
    line-height: 1.8;
}

.underline-link {
    color: var(--color-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
}

.underline-link:hover {
    background-size: 100% 1px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-dark);
    font-size: 1.2rem;
    transition: var(--transition-medium);
}

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

@media (max-width: 991px) {
    .menu-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    .menu-contact-info {
        padding-left: 0;
        border-left: none;
    }
    .link-label {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Page Layout & Sections
   ========================================================================== */
.site-main {
    position: relative;
    width: 100%;
}

.hero-section, .about-section, .vision-section, .divisions-section, .footer-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 8rem 4rem;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section, .about-section, .vision-section, .divisions-section, .footer-section {
        padding: 6rem 2rem;
    }
}

/* Section general tag */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    opacity: 0.7;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background-color: currentColor;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1.2rem 2.2rem;
    border-radius: 50px;
    transition: var(--transition-medium);
}

.btn-primary {
    background-color: var(--color-light);
    color: var(--bg-light);
    border: 1px solid var(--color-light);
}

body.dark-mode .btn-primary {
    background-color: var(--color-dark);
    color: var(--bg-dark);
    border: 1px solid var(--color-dark);
}

.btn:hover {
    background-color: var(--accent);
    color: var(--bg-dark) !important;
    border-color: var(--accent);
}

.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
    gap: 4rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted-light);
    max-width: 500px;
    margin-bottom: 3rem;
}

body.dark-mode .hero-subtitle {
    color: var(--text-muted-dark);
}

.solar-wave-container {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.rotating-g {
    transform-origin: center;
    animation: slowRotate 40s linear infinite;
}

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

.wave-circle {
    transition: var(--transition-slow);
}

.wave-circle:hover {
    stroke-width: 3px;
    stroke: #000000;
}

.center-glow {
    animation: sunPulse 4s alternate infinite ease-in-out;
}

@keyframes sunPulse {
    0% { r: 12px; opacity: 0.6; fill: #000000; }
    100% { r: 18px; opacity: 1; fill: #000000; }
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        margin: 0 auto 3rem auto;
    }
    .solar-wave-container {
        max-width: 350px;
    }
}

/* ==========================================================================
   Section 2: About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
    gap: 6rem;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-text-content p {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

body.dark-mode .about-text-content p {
    color: var(--text-muted-dark);
}

.leadership-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    transition: var(--transition-medium);
}

body.dark-mode .leadership-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

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

.leadership-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.leader-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.leader-name {
    font-size: 1.4rem;
    font-weight: 400;
}

.leader-role {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    letter-spacing: 1px;
}

body.dark-mode .leader-role {
    color: var(--text-muted-dark);
}

.leader-bio {
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted-light);
}

body.dark-mode .leader-bio {
    color: var(--text-muted-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-box {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

body.dark-mode .stat-box {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-light);
}

body.dark-mode .stat-label {
    color: var(--text-muted-dark);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Section 3: Vision Fluid Section (Dark Theme Transition)
   ========================================================================== */
.vision-section {
    background-color: var(--bg-light);
    color: var(--color-light);
    transition: background-color 0.8s, color 0.8s;
}

body.dark-mode .vision-section {
    background-color: var(--bg-dark);
    color: var(--color-dark);
}

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

.vision-content {
    text-align: center;
}

.vision-text {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.5px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 768px) {
    .about-text-content p {
        text-align: left;
        hyphens: none;
    }

    .vision-text {
        font-size: 1.8rem;
        text-align: left;
    }
}

/* ==========================================================================
   Section 4: Activities Showcase (Horizontal Slider)
   ========================================================================== */
.divisions-section {
    background-color: var(--bg-dark);
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 6rem;
}

.section-header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 4rem auto;
    align-items: flex-end;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.1;
}

.section-intro-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted-dark);
    max-width: 500px;
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .section-header-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* Swiper styling customization */
.divisions-swiper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: visible !important; /* Allow slides to bleed off screen */
}

.division-card {
    height: 480px;
    background-color: #161615;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.division-card:hover {
    transform: translateY(-10px);
    border-color: rgba(4, 178, 161, 0.4);
}

/* Custom styling variations for card details */
.card-construction { border-left: 3px solid var(--accent); }
.card-garments { border-left: 3px solid var(--accent-gold); }
.card-electronics { border-left: 3px solid #6D9EE0; }
.card-distribution { border-left: 3px solid #8BE06D; }
.card-consultancy { border-left: 3px solid #DF6DE0; }

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(4, 178, 161, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.6;
}

.card-title {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-muted-dark);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.detail-item {
    font-size: 0.8rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted-dark);
}

.detail-item i {
    font-size: 0.75rem;
    color: var(--accent);
}

/* Swiper custom controls styling */
.swiper-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 4rem auto 0 auto;
}

.swiper-scrollbar {
    background: rgba(255, 255, 255, 0.05) !important;
    height: 2px !important;
    width: 70% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

.swiper-scrollbar-drag {
    background: var(--accent) !important;
}

.swiper-buttons {
    display: flex;
    gap: 1rem;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-dark);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .division-card {
        padding: 2rem;
        height: auto;
        min-height: 400px;
    }
    .card-title {
        font-size: 1.8rem;
    }
    .swiper-scrollbar {
        width: 50% !important;
    }
}

/* ==========================================================================
   Section 5: Footer & Contact Section
   ========================================================================== */
.footer-section {
    background-color: var(--bg-light);
    color: var(--color-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 2rem !important;
    transition: background-color 0.8s, color 0.8s;
}

body.dark-mode .footer-section {
    background-color: var(--bg-dark);
    color: var(--color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 6rem;
}

.contact-form-container {
    width: 100%;
}

.footer-small-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 3.5rem;
}

.custom-contact-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.custom-contact-form .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 2.5rem;
}

.custom-contact-form .form-group.half {
    width: 50%;
}

.custom-contact-form label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--color-light);
    transition: color 0.8s;
}

body.dark-mode .custom-contact-form label {
    color: var(--color-dark);
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
    background: none;
    border: none;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-light);
    outline: none;
    transition: border-color 0.3s, color 0.8s;
}

body.dark-mode .custom-contact-form input,
body.dark-mode .custom-contact-form select,
body.dark-mode .custom-contact-form textarea {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: var(--color-dark);
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    border-bottom-color: var(--accent);
}

.custom-contact-form select option {
    background-color: var(--bg-light);
    color: var(--color-light);
}

body.dark-mode .custom-contact-form select option {
    background-color: var(--bg-dark);
    color: var(--color-dark);
}

.submit-btn {
    background: none;
    border: none;
    color: var(--color-light);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
    transition: color 0.8s;
}

body.dark-mode .submit-btn {
    color: var(--color-dark);
}

.submit-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent);
    transform: scaleX(0.2);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.submit-btn:hover::before {
    transform: scaleX(1);
}

.submit-btn svg {
    transition: transform 0.3s;
}

.submit-btn:hover svg {
    transform: translateX(8px);
}

.form-feedback {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-feedback.success { color: #52a658; }
.form-feedback.error { color: #d9534f; }

.contact-details-container {
    padding-left: 4rem;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.dark-mode .contact-details-container {
    border-left-color: rgba(255, 255, 255, 0.05);
}

.details-group {
    margin-bottom: 3.5rem;
}

.details-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.details-value {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-muted-light);
}

body.dark-mode .details-value {
    color: var(--text-muted-dark);
}

.details-value a {
    color: inherit;
    text-decoration: none;
}

.hover-underline {
    position: relative;
}

.hover-underline::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-details-container {
        padding-left: 0;
        border-left: none;
    }
    .footer-main-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    .custom-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .custom-contact-form .form-group.half {
        width: 100%;
    }
}

/* Big Footer Wordmark & Graphic Overlay */
.footer-graphic-container {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 4rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.footer-graphic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
    transition: opacity 0.8s;
}

body.dark-mode .footer-graphic-bg {
    opacity: 0.35;
}

.footer-wordmark {
    position: relative;
    z-index: 2;
    width: 100%;
}

.wordmark-svg-text {
    font-family: var(--font-faktum);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 1.8px;
    fill: var(--color-dark);
    stroke: none;
    transition: fill 0.8s;
}

body.dark-mode .wordmark-svg-text {
    fill: var(--color-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 4rem auto 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted-dark);
}

.footer-credits a.weburs-credit-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.footer-credits a.weburs-credit-link:hover {
    text-decoration: underline;
}

.footer-meta-actions {
    display: flex;
    gap: 1.5rem;
}

.sound-toggle-btn, .scroll-top-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

body.dark-mode .sound-toggle-btn,
body.dark-mode .scroll-top-btn {
    border-color: rgba(255, 255, 255, 0.05);
}

.sound-toggle-btn:hover, .scroll-top-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.sound-toggle-btn.muted i {
    animation: none;
}

.sound-toggle-btn i {
    animation: discRotate 3s linear infinite;
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
