/* Equipo47 Website - Consolidated Styles */

/* Single Page Layout Styles */
.services-page-section,
.about-page-section,
.contact-page-section {
    min-height: 100vh;
    position: relative;
}

.services-page-section .page-hero,
.about-page-section .page-hero,
.contact-page-section .page-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.services-page-section .page-hero .hero-content,
.about-page-section .page-hero .hero-content,
.contact-page-section .page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: transparent;
    overflow-x: hidden;
}

/* Page Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-background .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Site Container */
#site-container {
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

/* Header Styles */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Logo Styles */
.logo-container {
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
}

.logo-image {
    height: 60px;
    width: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #FFD700;
    border-radius: 50%;
    padding: 8px;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

/* Navigation Styles */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(1) sepia(1) saturate(10) hue-rotate(40deg);
}

/* Main Content */
#main-content {
    margin-top: 80px;
}

/* Common Page Hero Styles */
.hero-section,
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-title {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-brand {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin-top: 40px;
}

/* Common Button Styles */
.cta-button,
.submit-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover,
.submit-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.cta-button.primary {
    background-color: white;
    color: #e74c3c;
    border: 2px solid white;
}

.cta-button.primary:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: #e74c3c;
    border-color: white;
}

/* Common Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* Common Content Sections */
.latest-work-section,
.services-section,
.about-section,
.values-section,
.why-us-section,
.contact-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.values-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Video Container */
.video-column {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 30px;
    height: 30px;
    margin-left: 3px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-align: center;
    padding: 20px;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover,
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon,
.value-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: block;
    text-align: center;
}

.service-title,
.value-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.service-description,
.value-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #555;
    font-size: 14px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-description {
    margin-bottom: 0;
}

/* Why Us Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: stretch;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 200px;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.reason-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.reason-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.reason-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    word-wrap: break-word;
}

.reason-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Ensure animated elements are visible on page load */
.contact-form-container.slide-in-left,
.contact-info-container.slide-in-right,
.text-column.slide-in-left,
.video-column.slide-in-right,
.about-text.slide-in-left,
.about-image.slide-in-right,
.section-title.fade-in,
.value-card.fade-in,
.reason-item.fade-in,
.service-card.fade-in,
.hero-content.fade-in {
    opacity: 1;
    transform: none;
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.submit-button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 18px 40px;
    border-radius: 50px;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.form-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info,
.social-info,
.cta-box {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.info-content a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #c0392b;
}

.social-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links-extended {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link-extended {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.social-link-extended:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.social-icon-extended {
    font-size: 20px;
    width: 35px;
    text-align: center;
}

.social-text {
    font-size: 14px;
    font-weight: 500;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.cta-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-phone {
    display: inline-block;
    background: white;
    color: #e74c3c;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-phone:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.success-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.success-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-success {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-success:hover {
    background: #c0392b;
}

/* Common CTA Sections */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: #e74c3c;
    margin: 0;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .page-title {
        font-size: 48px;
    }

    .section-title,
    .about-title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }

    .section-content,
    .about-content {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .contact-content {
        gap: 60px;
    }

    .contact-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header-content {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Main Content Mobile */
    #main-content {
        margin-top: 70px;
    }

    .page-hero {
        min-height: 50vh;
    }

    /* Hero Mobile */
    .hero-brand {
        font-size: 24px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .cta-button,
    .submit-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* Sections Mobile */
    .latest-work-section,
    .services-section,
    .about-section,
    .values-section,
    .why-us-section,
    .contact-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .section-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-title {
        font-size: 28px;
    }

    .about-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .title-underline {
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .services-grid,
    .values-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .service-card,
    .value-card {
        padding: 30px 25px;
    }

    .service-icon,
    .value-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .service-title,
    .value-title {
        font-size: 20px;
    }

    .service-description,
    .value-description {
        font-size: 15px;
    }

    .reason-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }

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

    .reason-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
        align-self: center;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    /* Contact Mobile */
    .contact-form-container {
        padding: 30px 25px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .submit-button {
        padding: 15px 30px;
        font-size: 14px;
        min-width: 180px;
    }

    .contact-info-container {
        gap: 25px;
    }

    .contact-info,
    .social-info,
    .cta-box {
        padding: 25px;
    }

    .info-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .success-content {
        padding: 30px 25px;
        margin: 20px 15px;
    }

    .success-content h3 {
        font-size: 20px;
    }

    .success-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-container,
    .section-container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .about-title,
    .section-title,
    .cta-title {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .service-card,
    .value-card {
        padding: 25px 20px;
    }

    .service-icon,
    .value-icon {
        font-size: 36px;
    }

    .service-title,
    .value-title {
        font-size: 18px;
    }

    .reason-item {
        padding: 20px 15px;
    }

    .reason-title {
        font-size: 18px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        width: 24px;
        height: 24px;
    }

    .contact-form-container {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-description {
        font-size: 14px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }

    .contact-info,
    .social-info,
    .cta-box {
        padding: 20px;
    }

    .info-item {
        gap: 10px;
    }

    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Gallery Section Styles */
.gallery-page-section {
    min-height: 100vh;
    position: relative;
}

.gallery-page-section .page-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.gallery-page-section .page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Album Card */
.album-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.album-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.album-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-image {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.album-card:hover .album-play-icon {
    transform: scale(1.1);
}

.album-play-icon svg {
    width: 24px;
    height: 24px;
}

.album-count {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.album-info {
    padding: 20px;
    text-align: center;
}

.album-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.album-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.album-description {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Gallery Empty/Error States */
.gallery-empty,
.gallery-error {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.gallery-empty h3,
.gallery-error h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.gallery-empty p,
.gallery-error p {
    color: #666;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Slideshow Modal */
.slideshow-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slideshow-modal.active {
    opacity: 1;
    visibility: visible;
}

.slideshow-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.slideshow-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90%;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.slideshow-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
    padding: 10px;
    transition: color 0.3s ease;
}

.slideshow-close:hover {
    color: #ccc;
}

.slideshow-header {
    text-align: center;
    margin-bottom: 20px;
}

.slideshow-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.slideshow-content {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.slideshow-media {
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image,
.slideshow-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.slideshow-video {
    width: 100%;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.slideshow-prev {
    left: -70px;
}

.slideshow-next {
    right: -70px;
}

.slideshow-nav svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

/* Slideshow Indicators */
.slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slideshow-indicator.active {
    background: #fff;
}

.slideshow-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .album-card {
        border-radius: 12px;
    }

    .album-info {
        padding: 15px;
    }

    .album-title {
        font-size: 1.1rem;
    }

    .slideshow-container {
        width: 95%;
        max-height: 95%;
    }

    .slideshow-close {
        top: -40px;
        font-size: 1.5rem;
    }

    .slideshow-title {
        font-size: 1.2rem;
    }

    .slideshow-nav {
        width: 40px;
        height: 40px;
    }

    .slideshow-prev {
        left: -50px;
    }

    .slideshow-next {
        right: -50px;
    }

    .slideshow-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .album-play-icon {
        width: 50px;
        height: 50px;
    }

    .album-play-icon svg {
        width: 20px;
        height: 20px;
    }

    .slideshow-nav {
        position: static;
        margin: 10px;
    }

    .slideshow-content {
        flex-direction: column;
    }

    .slideshow-media {
        max-height: 60vh;
    }

    .gallery-section {
        padding: 40px 0;
    }
}