/* Variables & Reset */
:root {
    /* Brand Colors */
    --primary-color: #3b82f6;
    /* Bright Tech Blue */
    --primary-dark: #1d4ed8;
    --accent-color: #8b5cf6;
    /* Violet Accent */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    /* Backgrounds */
    --bg-body: #09090b;
    /* Deepest Black/Zinc */
    --bg-surface: #18181b;
    /* Zinc 900 */
    --bg-surface-light: #27272a;
    /* Zinc 800 */
    --bg-glass: rgba(24, 24, 27, 0.8);

    /* Text */
    --text-main: #f4f4f5;
    /* Zinc 100 */
    --text-muted: #a1a1aa;
    /* Zinc 400 */
    --text-inverse: #09090b;

    /* UI Elements */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --radius: 24px;
    --container-width: 1240px;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);

    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-surface);
    /* Replaced light bg with surface for dark mode */
}

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

.bg-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.text-white {
    color: var(--text-main);
}

.center-btn {
    text-align: center;
    margin-top: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-main);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--bg-surface-light);
    background: var(--bg-surface);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--primary-color);
    border-color: var(--text-main);
}

.btn-whatsapp-large {
    background-color: #25D366;
    color: var(--text-main);
    font-size: 1.1rem;
    padding: 18px 42px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Header */
.header {
    background-color: rgba(9, 9, 11, 0.8);
    /* Dark glass */
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: var(--text-main) !important;
    padding: 10px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.btn-nav::after {
    display: none;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.3), rgba(9, 9, 11, 1)), url('../images/Hero.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-main);
    padding-top: 90px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #09090b 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-weight: 300;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-surface);
    padding: 48px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 32px;
    color: var(--text-muted);
}

.link-cta {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.link-cta:hover {
    gap: 12px;
    opacity: 0.8;
}

/* Product Section */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-details h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 24px;
    display: block;
}

.product-features {
    margin: 40px 0;
}

.product-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.product-features i {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Portfolio Section */
/* Portfolio Premium Design */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--bg-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-media {
    position: relative;
    width: 100%;
    /* Optimized for mixed content (Portrait/Landscape) */
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #09090b;
    /* Dark background for letterboxing */
}

.portfolio-video,
.portfolio-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures full content is visible */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.overlay-content i {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.overlay-content span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.portfolio-item:hover .portfolio-media .portfolio-video,
.portfolio-item:hover .portfolio-media .portfolio-img {
    transform: scale(1.05);
}

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

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, var(--bg-surface), rgba(255, 255, 255, 0.02));
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag.highlight {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-color);
    border-color: rgba(139, 92, 246, 0.2);
}

.portfolio-content h3 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.portfolio-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--bg-surface);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
    margin: 48px 0;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-box {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: #000;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo h3 {
    color: var(--text-main);
    font-size: 1.75rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--text-main);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    padding: 14px 20px;
    border-radius: 50px 0 0 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    outline: none;
    width: 100%;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
}

.newsletter-form button {
    padding: 14px 24px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Social Proof Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Testimonials Carousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    height: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
}

.carousel-slide {
    min-width: 100%;
    list-style: none;
    padding: 20px;
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    opacity: 0.5;
}

.quote {
    font-size: 1.35rem;
    font-style: italic;
    margin-bottom: 40px;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 300;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.placeholder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 2px solid var(--bg-body);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--bg-body);
}

.author h4 {
    color: var(--text-main);
    margin-bottom: 4px;
    font-size: 1.1rem;
    font-weight: 700;
}

.author small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.carousel-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.carousel-button--left {
    left: 0;
}

.carousel-button--right {
    right: 0;
}

.carousel-button.is-hidden {
    display: none;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-indicator {
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    margin: 0;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Animations */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }

    .mobile-menu-icon {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 90px;
        right: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .about-content,
    .product-showcase,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 40px 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .carousel-container {
        padding: 0;
    }

    .carousel-button {
        display: none;
    }
}

/* Instagram Section */
#instagram {
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
#instagram::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.instagram-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 24px;
    text-align: center;
}

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

.instagram-overlay i {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 12px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.instagram-item:hover .instagram-overlay i {
    transform: scale(1);
}

.instagram-caption {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
    line-height: 1.5;
}

.instagram-item:hover .instagram-caption {
    transform: translateY(0);
}

/* Responsive adjustments for Instagram grid */
@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Custom button style for Instagram section */
#instagram .btn-primary {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

#instagram .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
    transform: translateY(-2px);
}

/* Google Reviews Integration */
.google-review-card {
    text-align: left;
    padding: 32px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.google-review-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.google-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-details h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 700;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.stars {
    color: #fbbc04;
    font-size: 0.95rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.google-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-icon i {
    font-size: 1.75rem;
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Fallback for browsers that don't support background-clip: text on icons */
@supports not (background-clip: text) {
    .google-icon i {
        color: #4285f4;
    }
}

.google-review-card .quote {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 0;
}

.btn-google {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
    background-color: var(--bg-surface-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.btn-google i {
    color: #4285f4;
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    background-color: var(--bg-surface);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
}

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

.footer-logo img {
    margin-bottom: 24px;
}

.footer-logo p {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-body);
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo p {
        margin: 0 auto;
    }

    .footer-links a:hover {
        transform: none;
    }
}