/* ============================================
   3D Printing Studio - Custom Styles
   Main Color: #5271ff
   ============================================ */

/* Extra horizontal padding at lg+ (Bootstrap CDN stops at 5) */
@media (min-width: 992px) {
    .px-lg-6 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
}

:root {
    --primary-color: #5271ff;
    --primary-dark: #3d5ae8;
    --primary-light: #6b8aff;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4ff;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f1e;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #5271ff 0%, #3d5ae8 100%);
    --gradient-accent: linear-gradient(135deg, #5271ff 0%, #00d4ff 100%);
    --shadow-sm: 0 2px 10px rgba(82, 113, 255, 0.1);
    --shadow-md: 0 4px 20px rgba(82, 113, 255, 0.15);
    --shadow-lg: 0 10px 40px rgba(82, 113, 255, 0.2);
}

/* Dark Mode Variables */
body.dark-mode {
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a2e;
    --bg-dark: #0f0f1e;
    --white: #1a1a2e;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Body */
body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.text-justify {
    text-align: justify !important;
}

/* ============================================
   Header Styles
   ============================================ */

.studio-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(82, 113, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.studio-header.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(82, 113, 255, 0.15);
}

/* Dark Mode Header */
body.dark-mode .studio-header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom-color: rgba(82, 113, 255, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .studio-header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(82, 113, 255, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    gap: 0.35rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Dark Mode Nav Links */
body.dark-mode .nav-link {
    color: var(--text-dark) !important;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    background: rgba(82, 113, 255, 0.15);
}

/* Dark Mode Navbar Toggler */
body.dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2882, 113, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(82, 113, 255, 0.08);
}

.nav-link.btn-cta {
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white !important;
    border-radius: 50px;
    padding: 0.3rem 1.25rem !important;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link.btn-cta::before {
    display: none;
}

.nav-link.btn-cta:hover {
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(82, 113, 255, 0.6);
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(82, 113, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2882, 113, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Background Animation */
.header-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: -75px;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    top: -50px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(50px) rotate(180deg);
    }
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    transition: background-color 0.3s ease;
}

/* Dark Mode Main Content */
body.dark-mode .main-content {
    background-color: var(--bg-dark);
}

/* ============================================
   Footer Styles
   ============================================ */

.studio-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1a2e 100%);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Footer Background Animation */
.footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(82, 113, 255, 0.6), rgba(82, 113, 255, 0.3));
    box-shadow: 0 0 30px rgba(82, 113, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: floatBall 15s infinite ease-in-out;
    filter: blur(0.5px);
}

.ball-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: radial-gradient(circle at 30% 30%, rgba(82, 113, 255, 0.7), rgba(82, 113, 255, 0.3));
}

.ball-2 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 10%;
    animation-delay: 2s;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.3));
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.ball-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 15%;
    animation-delay: 4s;
    background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.6), rgba(138, 43, 226, 0.3));
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.ball-4 {
    width: 90px;
    height: 90px;
    top: 20%;
    right: 20%;
    animation-delay: 6s;
    background: radial-gradient(circle at 30% 30%, rgba(82, 113, 255, 0.6), rgba(82, 113, 255, 0.3));
}

.ball-5 {
    width: 70px;
    height: 70px;
    top: 60%;
    right: 15%;
    animation-delay: 8s;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.7), rgba(0, 212, 255, 0.3));
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.ball-6 {
    width: 110px;
    height: 110px;
    top: 40%;
    left: 50%;
    animation-delay: 10s;
    background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.6), rgba(138, 43, 226, 0.3));
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes floatBall {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
        opacity: 0.85;
    }
}

.studio-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-top {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 80px;
    padding-top: 0;
    line-height: 1.2;
}

.footer-title img {
    max-height: 80px;
    width: auto;
    display: block;
    flex-shrink: 0;
    align-self: center;
}

.footer-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 113, 255, 0.1);
    border: 1px solid rgba(82, 113, 255, 0.2);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Social Media Brand Colors on Hover */
.social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    color: #ffffff;
}

.social-link[aria-label="Messenger"]:hover {
    background: #0084FF;
    border-color: #0084FF;
    box-shadow: 0 4px 20px rgba(0, 132, 255, 0.4);
    color: #ffffff;
}

.social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
    color: #ffffff;
}

.social-link[aria-label="Tiktok"]:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.social-link[aria-label="YouTube"]:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    color: #ffffff;
}

.social-link[aria-label="Twitch"]:hover {
    background: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.4);
    color: #ffffff;
}

/* Dark Mode Social Links */
body.dark-mode .social-link {
    background: rgba(82, 113, 255, 0.15);
    border-color: rgba(82, 113, 255, 0.3);
    color: var(--primary-light);
}

body.dark-mode .social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.5);
}

/* Dark Mode Social Media Brand Colors on Hover */
body.dark-mode .social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.5);
    color: #ffffff;
}

body.dark-mode .social-link[aria-label="Messenger"]:hover {
    background: #0084FF;
    border-color: #0084FF;
    box-shadow: 0 4px 20px rgba(0, 132, 255, 0.5);
    color: #ffffff;
}

body.dark-mode .social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.5);
    color: #ffffff;
}

body.dark-mode .social-link[aria-label="Tiktok"]:hover {
    background: #FF0050;
    border-color: #FF0050;
    box-shadow: 0 4px 20px rgba(255, 0, 80, 0.5);
    color: #ffffff;
}

body.dark-mode .social-link[aria-label="YouTube"]:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.5);
    color: #ffffff;
}

body.dark-mode .social-link[aria-label="Twitch"]:hover {
    background: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.5);
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    font-weight: 400;
}

/*.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}*/

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
    padding-left: 20px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(138, 48, 171, 0.5);
    transform: translateX(5px);
}

.footer-links li.nav-item {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100%;
}

.footer-links .btn-cta {
    padding: 0.5rem 1.5rem !important;
    margin-top: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;
    min-width: 120px;
    line-height: 1.5 !important;
}

.footer-links .btn-cta::before {
    display: none !important;
}

@media (max-width: 991.98px) {
    .footer-links li.nav-item {
        text-align: left !important;
        justify-content: flex-start !important;
    }
}

.footer-links .btn-cta:hover {
    /*padding-left: 0 !important;*/
    text-shadow: none;
    transform: translateY(-3px) scale(1.05);
}

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

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-contact a:hover {
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(82, 113, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(82, 113, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 400;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-bottom-links a:hover {
    color: rgba(138, 48, 171, 1);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(138, 48, 171, 0.8), 0 0 25px rgba(82, 113, 255, 0.4);
    background: rgba(82, 113, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(82, 113, 255, 0.3);
}

.footer-bottom-link {
    transition: 0.5s;
}

.footer-bottom-link:hover {
    color: var(--primary-color) !important;
    transition: 0.5s;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Mobile Social Links */
.mobile-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(82, 113, 255, 0.1);
}

.mobile-social-links .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 113, 255, 0.1);
    border: 1px solid rgba(82, 113, 255, 0.2);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-social-links .social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Mobile Social Media Brand Colors on Hover */
.mobile-social-links .social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    color: #ffffff;
}

.mobile-social-links .social-link[aria-label="Messenger"]:hover {
    background: #0084FF;
    border-color: #0084FF;
    box-shadow: 0 4px 20px rgba(0, 132, 255, 0.4);
    color: #ffffff;
}

.mobile-social-links .social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
    color: #ffffff;
}

.mobile-social-links .social-link[aria-label="Tiktok"]:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.mobile-social-links .social-link[aria-label="YouTube"]:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    color: #ffffff;
}

.mobile-social-links .social-link[aria-label="Twitch"]:hover {
    background: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.4);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(82, 113, 255, 0.1);
        align-items: center;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .navbar-nav .nav-item.language-selector {
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .navbar-nav .nav-link.active {
        width: 100%;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 98%;
    }
    
    .nav-link.btn-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .footer-top {
        padding: 3rem 0 1.5rem;
    }
    
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary-custom:hover {
    background: var(--gradient-accent);
    /*transform: translateY(-2px);*/
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.section-padding {
    padding: 5rem 0;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Dark Mode Comprehensive Styles
   ============================================ */

/* Dark Mode Cards and Containers */
body.dark-mode .card,
body.dark-mode .portfolio-item,
body.dark-mode .service-card,
body.dark-mode .portfolio-preview-card,
body.dark-mode .section-card,
body.dark-mode .service-section,
body.dark-mode .team-member {
    background-color: rgba(26, 26, 46, 0.9);
    border-color: rgba(82, 113, 255, 0.2);
    color: var(--text-dark);
}

/* Dark Mode Text Elements */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: var(--text-dark);
}

body.dark-mode p {
    color: var(--text-light);
}

/* Dark Mode Buttons */
body.dark-mode .btn {
    transition: all 0.3s ease;
}

body.dark-mode .btn-primary {
    background: var(--gradient-primary);
    border-color: transparent;
}

/* Dark Mode Form Elements */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: rgba(26, 26, 46, 0.8);
    border-color: rgba(82, 113, 255, 0.3);
    color: var(--text-dark);
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    background-color: rgba(26, 26, 46, 0.9);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

/* Dark Mode Dropdowns */
body.dark-mode .dropdown-menu {
    background-color: rgba(26, 26, 46, 0.95);
    border-color: rgba(82, 113, 255, 0.3);
}

body.dark-mode .dropdown-item {
    color: var(--text-dark);
}

body.dark-mode .dropdown-item:hover {
    background-color: rgba(82, 113, 255, 0.15);
    color: var(--text-dark);
}

/* Dark Mode Modal */
body.dark-mode .modal-content {
    background-color: rgba(26, 26, 46, 0.95);
    border-color: rgba(82, 113, 255, 0.3);
    color: var(--text-dark);
}

body.dark-mode .modal-header {
    border-bottom-color: rgba(82, 113, 255, 0.2);
}

body.dark-mode .modal-footer {
    border-top-color: rgba(82, 113, 255, 0.2);
}

/* Dark Mode Portfolio Filter */
body.dark-mode .portfolio-filter {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
}

body.dark-mode .filter-btn {
    background: rgba(26, 26, 46, 0.8);
    border-color: rgba(82, 113, 255, 0.3);
    color: var(--text-dark);
}

/* Dark Mode Portfolio Items */
body.dark-mode .portfolio-item-info {
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
}

/* Dark Mode Lightbox */
body.dark-mode .portfolio-lightbox {
    background-color: rgba(0, 0, 0, 0.98);
}

/* Dark Mode Footer */
body.dark-mode .studio-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a14 100%);
}

/* Dark Mode Back to Top Button */
body.dark-mode .back-to-top {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.9) 0%, rgba(138, 43, 226, 0.9) 100%);
}

/* Dark Mode Service Features */
body.dark-mode .service-features li {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    border-color: rgba(82, 113, 255, 0.2);
    color: var(--text-light);
}

body.dark-mode .service-feature-desc {
    color: var(--text-light);
}

/* Dark Mode Team Member */
body.dark-mode .team-member {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    border-color: rgba(82, 113, 255, 0.2);
}

body.dark-mode .team-member-details {
    color: var(--text-light);
}

body.dark-mode .team-member-info .role {
    color: var(--text-light);
}

/* Dark Mode Section Content */
body.dark-mode .section-content {
    color: var(--text-light);
}

/* Dark Mode Service Description */
body.dark-mode .service-description {
    color: var(--text-light);
}

/* Dark Mode Footer Buttons - Enhanced visibility */
body.dark-mode .footer-links .btn-cta {
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-links .btn-cta:hover {
    background: linear-gradient(135deg, rgba(100, 130, 255, 1) 0%, rgba(160, 60, 240, 1) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 35px rgba(82, 113, 255, 0.8), 0 0 20px rgba(138, 43, 226, 0.4);
    color: white !important;
    text-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Dark Mode Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
