/* ========================================
   BARBARA COSTA - DESIGNER GRÁFICA
   Portfolio Website Styles
======================================== */

/* ========== IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Great+Vibes&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Purple/Lilac Palette */
    --primary-purple: #7b4397;
    --primary-lilac: #9b59b6;
    --dark-purple: #4a1f5e;
    --medium-purple: #5b2c6f;
    --light-lilac: #c39bd3;
    --pale-lilac: #e8daef;
    --accent-pink: #d4a5d4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f9f9f9;
    --light-gray: #f0e6f6;
    --medium-gray: #9e9e9e;
    --dark-gray: #333333;
    --black: #1a1a1a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4a1f5e 0%, #7b4397 50%, #9b59b6 100%);
    --gradient-light: linear-gradient(135deg, #c39bd3 0%, #e8daef 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(123, 67, 151, 0.9), rgba(155, 89, 182, 0.9));
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-purple: 0 10px 30px rgba(123, 67, 151, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-full: 50%;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 67, 151, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== LANGUAGE SELECTOR ========== */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.language-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--light-lilac);
    border-radius: var(--radius-lg);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--dark-purple);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.language-toggle .flag {
    font-size: 20px;
    line-height: 1;
}

.language-toggle .lang-code {
    min-width: 25px;
}

.language-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.open .language-toggle i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--light-lilac);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(15px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--dark-purple);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.lang-option:hover {
    background: var(--pale-lilac);
}

.lang-option.active {
    background: var(--light-lilac);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 22px;
    line-height: 1;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-purple);
}


.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-purple);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-purple);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text .highlight {
    display: block;
    font-size: 72px;
    background: linear-gradient(135deg, #ffffff, #e8daef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--pale-lilac);
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.float-item i {
    font-size: 32px;
    color: var(--white);
}

.float-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.float-2 {
    bottom: 50px;
    left: -20px;
    animation-delay: 2s;
}

.float-3 {
    top: 50px;
    left: -30px;
    animation-delay: 4s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-indicator i {
    display: block;
    margin-top: 10px;
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--section-padding);
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-lilac);
    border-radius: var(--radius-lg);
    top: 20px;
    left: 20px;
    z-index: 1;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--dark-purple);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}


.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    padding: var(--section-padding);
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    background: transparent;
    border: 2px solid var(--light-lilac);
    color: var(--primary-purple);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Grid específico para cartões de visita - mais colunas para mostrar mais cartões */
.portfolio-grid:has(.portfolio-item[data-category="cartoes-visita"]:not(.hide)) {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Ajustes para "Meus trabalhos" (cartões de visita - formato retangular) */
.portfolio-item[data-category="meus-trabalhos"] .portfolio-image {
    height: 240px; /* menos quadrado, mais adequado para cartões */
    background: var(--white);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="meus-trabalhos"] .portfolio-image img {
    object-fit: contain; /* evitar corte do cartão */
    transform: none; /* sem zoom inicial */
}

.portfolio-item[data-category="meus-trabalhos"]:hover .portfolio-image img {
    transform: none; /* não aplicar zoom no hover para não distorcer */
}

/* Ajustes para Cartões de Visita - mostrar cartões inteiros e menores */
.portfolio-item[data-category="cartoes-visita"] .portfolio-image {
    height: 200px; /* altura menor para mostrar cartão inteiro */
    background: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="cartoes-visita"] .portfolio-image img {
    object-fit: contain; /* mostrar cartão inteiro sem cortes */
    max-width: 100%;
    max-height: 100%;
    transform: none; /* sem zoom inicial */
}

.portfolio-item[data-category="cartoes-visita"]:hover .portfolio-image img {
    transform: none; /* não aplicar zoom no hover */
}

/* Ajustes para YouTube (thumbnails 16:9) */
.portfolio-item[data-category="youtube"] .portfolio-image {
    height: 230px;
    background: var(--white);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="youtube"] .portfolio-image img {
    object-fit: contain;
    transform: none;
}

.portfolio-item[data-category="youtube"]:hover .portfolio-image img {
    transform: none;
}

/* Ajustes para Capas de Reels (formato vertical 9:16) */
.portfolio-item[data-category="capas-reels"] .portfolio-image {
    height: 280px;
    background: var(--white);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="capas-reels"] .portfolio-image img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transform: none;
}

.portfolio-item[data-category="capas-reels"]:hover .portfolio-image img {
    transform: none;
}

/* Ajustes para Posts para Redes Sociais */
.portfolio-item[data-category="posts-redes-sociais"] .portfolio-image {
    height: 250px;
    background: var(--white);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="posts-redes-sociais"] .portfolio-image img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transform: none;
}

.portfolio-item[data-category="posts-redes-sociais"]:hover .portfolio-image img {
    transform: none;
}

/* Ajustes para Logotipos */
.portfolio-item[data-category="logotipos"] .portfolio-image {
    height: 250px;
    background: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="logotipos"] .portfolio-image img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transform: none;
}

.portfolio-item[data-category="logotipos"]:hover .portfolio-image img {
    transform: none;
}

/* Ajustes para Identidade Visual (logos e marcas variadas) */
.portfolio-item[data-category="identidade-visual"] .portfolio-image {
    height: 300px;
    background: var(--white);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item[data-category="identidade-visual"] .portfolio-image img {
    object-fit: contain;
    transform: none;
}

.portfolio-item[data-category="identidade-visual"]:hover .portfolio-image img {
    transform: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 30px;
    text-align: center;
}

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

.portfolio-overlay[href] {
    cursor: pointer;
    text-decoration: none;
}

.portfolio-overlay[href]:hover {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--pale-lilac);
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-view {
    padding: 12px 25px;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-view:hover {
    background: var(--pale-lilac);
    transform: scale(1.05);
}

/* Botão de compra específico */
.btn-view[href] {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 12px 25px;
}

.btn-view[href]:hover {
    background: var(--pale-lilac);
    transform: scale(1.05);
    color: var(--primary-purple);
}

.btn-view[href] i {
    font-size: 16px;
}

/* Portfolio Item Hidden State */
.portfolio-item.hide {
    display: none;
}

/* ========== PARTNERSHIP SECTION ========== */
.partnership-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.partnership-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partnership-logo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.partnership-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.partnership-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partnership-text {
    flex: 1;
    color: var(--white);
    text-align: left;
}

.partnership-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.partnership-title .highlight-text {
    color: var(--pale-lilac);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.partnership-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

.partnership-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.partnership-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: var(--pale-lilac);
}

.partnership-btn i {
    font-size: 20px;
}

/* ========== SERVICES SECTION (Portfolio Visual) ========== */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple);
    border-color: var(--primary-lilac);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-purple);
}

.service-icon i {
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-purple);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.service-features li i {
    color: var(--primary-purple);
    font-size: 16px;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 40px;
    justify-items: center;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--dark-purple);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--light-lilac);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-smooth);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.contact-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 2px solid var(--light-lilac);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 28px;
    color: var(--white);
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--medium-gray);
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-link {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-link:hover {
    color: var(--primary-lilac);
}

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

.hero-social-links {
    margin-top: 16px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-purple);
}

.contact-cta {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.contact-cta p {
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-cta .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.contact-cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary-purple);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

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

.footer-links a {
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-bottom i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-purple);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ========== PROJECT MODAL ========== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark-purple);
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: rotate(90deg);
}

#modal-body {
    padding: 60px 40px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.modal-category {
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.modal-image {
    margin: 30px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.modal-image img {
    width: 100%;
    display: block;
}

.modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-item h4 {
    color: var(--dark-purple);
    font-size: 18px;
    margin-bottom: 10px;
}

.detail-item p {
    color: var(--medium-gray);
    font-size: 15px;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text .highlight {
        font-size: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-frame {
        width: 350px;
        height: 350px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .partnership-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .partnership-text {
        text-align: center;
    }
    
    .partnership-title {
        font-size: 36px;
    }
    
    .partnership-description {
        font-size: 18px;
        max-width: 100%;
    }
    
    .partnership-logo {
        width: 150px;
        height: 150px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .language-toggle {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 25px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text .highlight {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .image-frame {
        width: 280px;
        height: 280px;
    }
    
    .float-item {
        width: 60px;
        height: 60px;
    }
    
    .float-item i {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social,
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    #modal-body {
        padding: 40px 20px;
    }
    
    .modal-header h2 {
        font-size: 32px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .hero-text .highlight {
        font-size: 40px;
    }
    
    .image-frame {
        width: 250px;
        height: 250px;
    }
    
    .portfolio-image {
        height: 300px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .partnership-section {
        padding: 60px 0;
    }
    
    .partnership-title {
        font-size: 28px;
    }
    
    .partnership-description {
        font-size: 16px;
    }
    
    .partnership-logo {
        width: 120px;
        height: 120px;
        padding: 20px;
    }
    
    .partnership-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* ========== LOADING ANIMATION ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

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

