/* ==========================================================================
   GÜLER SERAMİK - CSS STYLESHEET
   ========================================================================== */

/* 1. Global Reset & Theme Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

:root {
    /* Color Palette - Dark Theme (Default) */
    --bg-main: #060b18;
    --bg-section: #0a1128;
    --bg-card: rgba(16, 24, 48, 0.65);
    --bg-glass: rgba(10, 18, 40, 0.75);
    --bg-input: rgba(14, 25, 53, 0.8);
    --border-color: rgba(0, 98, 255, 0.15);
    --border-hover: rgba(0, 210, 255, 0.35);
    
    --text-primary: #f3f6fc;
    --text-secondary: #8c9cb8;
    --text-muted: #5e6f8a;
    
    --accent-blue-1: #0062ff;
    --accent-blue-2: #00d2ff;
    --grad-primary: linear-gradient(135deg, var(--accent-blue-1) 0%, var(--accent-blue-2) 100%);
    --grad-accent-hover: linear-gradient(135deg, var(--accent-blue-2) 0%, var(--accent-blue-1) 100%);
    --grad-text: linear-gradient(90deg, #ffffff 0%, #a5c7ff 100%);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 98, 255, 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body.light-theme {
    /* Color Palette - Light Theme */
    --bg-main: #f5f8ff;
    --bg-section: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(245, 248, 255, 0.8);
    --bg-input: #ffffff;
    --border-color: rgba(0, 98, 255, 0.1);
    --border-hover: rgba(0, 98, 255, 0.25);
    
    --text-primary: #101c36;
    --text-secondary: #506180;
    --text-muted: #8598b5;
    
    --accent-blue-1: #0056e0;
    --accent-blue-2: #00a3e0;
    --grad-primary: linear-gradient(135deg, var(--accent-blue-1) 0%, var(--accent-blue-2) 100%);
    --grad-text: linear-gradient(90deg, #101c36 0%, #0056e0 100%);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 10px 20px rgba(0, 86, 224, 0.12);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* 2. Layout & Typography Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue-2);
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

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

/* Background Blur Highlights */
.glow-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    transition: all var(--transition-slow);
}

body.light-theme .glow-bg {
    opacity: 0.08;
}

.glow-1 {
    top: 10%;
    right: 5%;
    background-color: var(--accent-blue-1);
}

.glow-2 {
    top: 50%;
    left: -10%;
    background-color: var(--accent-blue-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 98, 255, 0.35);
    background: var(--grad-accent-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

body.light-theme .btn-secondary {
    background: rgba(0, 98, 255, 0.05);
}

body.light-theme .btn-secondary:hover {
    background: rgba(0, 98, 255, 0.1);
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    color: var(--accent-blue-2);
}

body.light-theme .icon-btn {
    background: rgba(0, 98, 255, 0.03);
}

body.light-theme .icon-btn:hover {
    background: rgba(0, 98, 255, 0.08);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 98, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-blue-2);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue-2);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue-2);
}

/* ==========================================================================
   3. Header / Sticky Navigation
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

#main-header.scrolled {
    padding: 12px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--text-primary);
}

.brand-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-blue-2);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle icons logic */
#theme-toggle .sun-icon {
    display: none;
}

#theme-toggle .moon-icon {
    display: block;
}

body.light-theme #theme-toggle .sun-icon {
    display: block;
}

body.light-theme #theme-toggle .moon-icon {
    display: none;
}

.mobile-menu-btn {
    display: none;
}

.menu-close-icon {
    display: none;
}

/* Navigation Dropdown Menu Styles (Desktop) */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.dropdown-icon {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    z-index: 1001;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    line-height: 1.4;
    text-align: left;
    display: block;
}

.dropdown-item:hover {
    background: rgba(0, 98, 255, 0.08);
    color: var(--text-primary);
    transform: translateX(4px);
}

body.light-theme .dropdown-item:hover {
    background: rgba(0, 98, 255, 0.05);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 56px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-blue-2);
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hero Image Wrapper */
.hero-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: block;
    box-shadow: var(--shadow-glow);
}

/* Floating overlay card */
.floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.info-card {
    bottom: 30px;
    left: -30px;
    animation: floating-anim 3s ease-in-out infinite alternate;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--grad-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-details p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Scroll indicator mouse */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-blue-2);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-out infinite;
}

/* ==========================================================================
   5. About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: rgba(16, 24, 48, 0.8);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(0, 98, 255, 0.1);
}

body.light-theme .about-card:hover {
    background: #ffffff;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 98, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--accent-blue-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all var(--transition-fast);
}

.about-card:hover .about-card-icon {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.about-card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.about-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. Services Section
   ========================================================================== */
.services-section {
    background-color: var(--bg-section);
    transition: background-color var(--transition-normal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-section) 0%, rgba(10, 17, 40, 0) 100%);
    opacity: 0.9;
}

.service-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-meta {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-blue-2);
    margin-bottom: 12px;
}

.service-body h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.service-body p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.service-bullets {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-bullets li {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullets svg {
    color: var(--accent-blue-2);
    flex-shrink: 0;
}

/* ==========================================================================
   7. Gallery / Filterable Portfolio Section
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

body.light-theme .filter-btn {
    background: rgba(0, 98, 255, 0.03);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.gallery-item.hide {
    display: none;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(6, 11, 24, 0.95) 0%, rgba(6, 11, 24, 0.4) 60%, rgba(6, 11, 24, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item-info span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-blue-2);
    display: inline-block;
    margin-bottom: 6px;
    transform: translateY(10px);
    transition: transform var(--transition-normal);
}

.gallery-item-info h4 {
    font-size: 20px;
    color: #ffffff;
    transform: translateY(10px);
    transition: transform var(--transition-normal) 50ms;
}

.view-project-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transform: scale(0.8);
    transition: transform var(--transition-normal), background var(--transition-fast);
}

.view-project-btn:hover {
    background: var(--grad-accent-hover);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-info span,
.gallery-item:hover .gallery-item-info h4 {
    transform: translateY(0);
}

.gallery-item:hover .view-project-btn {
    transform: scale(1);
}

/* ==========================================================================
   8. Contact & Quote Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-section);
    transition: background-color var(--transition-normal);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 26px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-para {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-link-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.info-link-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(0, 98, 255, 0.08);
    color: var(--accent-blue-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-details span {
    font-size: 13px;
    color: var(--text-secondary);
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 4px;
}

a.info-value:hover {
    color: var(--accent-blue-2);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-blue-2);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

/* Custom dropdown arrow styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238c9cb8' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

body.light-theme .form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23506180' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

.error-msg {
    font-size: 12px;
    color: #ff3366;
    margin-top: 6px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff3366;
    background-color: rgba(255, 51, 102, 0.03);
}

.form-group.has-error .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Submission animations */
.btn-submit .btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin-anim 0.8s linear infinite;
    display: none;
}

.btn-submit .success-icon {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: block;
}

.btn-submit.success {
    background: #00cc66 !important;
    box-shadow: 0 0 20px rgba(0, 204, 102, 0.25) !important;
}

.btn-submit.success .btn-text {
    display: none;
}

.btn-submit.success .success-icon {
    display: block;
    color: white;
}

.form-response-alert {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(0, 204, 102, 0.1);
    border: 1px solid rgba(0, 204, 102, 0.2);
    color: #00cc66;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    display: none;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
    transition: background-color var(--transition-normal);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-blue-2);
    transform: translateX(2px);
}

.footer-contact p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 26px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-blue-2);
    display: inline-block;
}

.footer-phone:hover {
    color: var(--accent-blue-1);
}

body.light-theme .footer-phone:hover {
    color: var(--accent-blue-2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.developer-credit {
    font-weight: 500;
}

.developer-credit a {
    color: #ff7a00;
    font-weight: 700;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.developer-credit a:hover {
    color: #ff9500;
    text-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

/* ==========================================================================
   10. Custom Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 11, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-blue-2);
}

/* ==========================================================================
   11. Animations
   ========================================================================== */
@keyframes floating-anim {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    50% {
        top: 18px;
        opacity: 0.3;
    }
    100% {
        top: 6px;
        opacity: 0;
    }
}

@keyframes spin-anim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Triggered Animations Setup */
.scroll-reveal {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.fade-up {
    transform: translateY(40px);
}

.scroll-reveal.fade-down {
    transform: translateY(-40px);
}

.scroll-reveal.fade-left {
    transform: translateX(-40px);
}

.scroll-reveal.fade-right {
    transform: translateX(40px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   12. Responsive Design Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .about-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-card:last-child {
        grid-column: span 2;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr 1.2fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    /* Header mobile navigation style */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 50px;
        gap: 30px;
        overflow-y: auto;
        z-index: 999;
        transition: right var(--transition-normal);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links.open ~ .header-actions .mobile-menu-btn .menu-open-icon {
        display: none;
    }
    
    .nav-links.open ~ .header-actions .mobile-menu-btn .menu-close-icon {
        display: block;
    }

    /* Navigation Dropdown Mobile Styles */
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-toggle {
        font-size: 18px;
        font-weight: 500;
        color: var(--text-secondary);
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        transition: max-height var(--transition-normal), opacity var(--transition-normal);
        z-index: auto;
    }

    /* Disable desktop hover behavior on mobile */
    .nav-dropdown:hover .dropdown-menu {
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        padding: 0;
    }
    
    .nav-dropdown.active-mobile .dropdown-menu {
        max-height: 400px;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.03);
    }
    
    .nav-dropdown.active-mobile .dropdown-toggle .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        text-align: center;
        font-size: 14px;
        padding: 10px 16px;
    }

    .dropdown-item:hover {
        transform: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .info-card {
        left: 10px;
        bottom: -20px;
    }
    
    .about-grid, .services-grid, .gallery-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-card:last-child {
        grid-column: span 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }

    .footer-bottom-container {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .lightbox-modal {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions-group .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        width: calc(50% - 10px);
    }
    
    .stat-item:last-child {
        width: 100%;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .btn-cta span {
        display: none;
    }
    
    .btn-cta {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   13. Floating Social Buttons Group
   ========================================================================== */
.floating-social-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.whatsapp-float, .instagram-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    color: #ffffff;
}

/* WhatsApp specific */
.whatsapp-float {
    background-color: #25d366;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
    color: #ffffff;
}

/* Instagram specific */
.instagram-float {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.5;
    z-index: -1;
    animation: pulse-instagram 2s infinite;
}

.instagram-float:hover {
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.6);
    transform: scale(1.1);
    color: #ffffff;
}

.whatsapp-icon, .instagram-icon {
    transition: transform var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(10deg);
}

.instagram-float:hover .instagram-icon {
    transform: rotate(-10deg);
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse-instagram {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Footer Socials Link styling */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.social-link[aria-label="WhatsApp"]:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

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

@media (max-width: 768px) {
    .floating-social-group {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .whatsapp-float, .instagram-float {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .instagram-icon {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   14. Scrollable SEO Block
   ========================================================================== */
.seo-scroll-section {
    padding: 0 0 50px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .seo-scroll-section {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.seo-scroll-box {
    max-height: 180px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

body.light-theme .seo-scroll-box {
    background: rgba(0, 0, 0, 0.015);
}

.seo-scroll-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.seo-scroll-box p {
    margin-bottom: 12px;
}

.seo-scroll-box ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-scroll-box li {
    padding-left: 15px;
    position: relative;
}

.seo-scroll-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue-2);
    font-weight: bold;
}

/* Custom Scrollbar for SEO Box */
.seo-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.seo-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

body.light-theme .seo-scroll-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

.seo-scroll-box::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.seo-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}


