/* ========================================
   MR WARNN - Tourism Portfolio
   Thailand Tourism Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Thailand Tourism Colors */
    --primary: #0891b2;        /* Turquoise - Thai seas */
    --primary-dark: #0e7490;
    --primary-light: #22d3ee;
    --secondary: #f59e0b;      /* Golden - Thai temples */
    --secondary-dark: #d97706;
    --secondary-light: #fbbf24;
    --accent: #ec4899;         /* Pink - Thai orchids */
    --accent-light: #f472b6;
    
    /* Nature Colors */
    --forest: #059669;         /* Thai jungle green */
    --sand: #fef3c7;           /* Beach sand */
    --ocean: #0ea5e9;          /* Ocean blue */
    --sunset: #f97316;         /* Thai sunset */
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
    --gradient-ocean: linear-gradient(180deg, #0ea5e9 0%, #0891b2 50%, #0e7490 100%);
    --gradient-hero: linear-gradient(135deg, rgba(8, 145, 178, 0.9) 0%, rgba(236, 72, 153, 0.8) 50%, rgba(245, 158, 11, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Dancing Script', cursive;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(8, 145, 178, 0.3);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.plane {
    font-size: 3rem;
    animation: fly 2s ease-in-out infinite;
}

.plane i {
    display: inline-block;
}

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

.loader p {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Floating Elements
   ======================================== */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-item {
    position: absolute;
    opacity: 0.1;
    font-size: 2rem;
    color: var(--primary);
    animation: float 15s ease-in-out infinite;
}

.floating-item.lotus {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-item.temple {
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.floating-item.sun {
    top: 30%;
    right: 20%;
    animation-delay: -10s;
    color: var(--secondary);
}

.floating-item.palm {
    bottom: 20%;
    left: 15%;
    animation-delay: -7.5s;
    color: var(--forest);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-text {
    color: var(--gray-800);
}

.logo-text .highlight {
    color: var(--secondary);
}

.logo-tagline {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-tagline {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover,
.nav-link.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.nav-link i {
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1528181304800-259b08848526?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
}

.hero-bg .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-bg .pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--secondary);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 .greeting {
    display: block;
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--secondary-light);
    margin-bottom: 10px;
}

.hero h1 .name {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 25px;
    min-height: 40px;
}

.typed-text {
    color: var(--secondary-light);
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

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

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary);
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.lotus-icon {
    font-size: 1.5rem;
}

.section-description {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition-normal);
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 1.5rem;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: -1;
}

.deco-circle {
    width: 150px;
    height: 150px;
    border: 3px dashed var(--primary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

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

.deco-dots {
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 15px 15px;
}

.about-intro h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60%, 100% { transform: rotate(0deg); }
}

.about-intro .lead {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-details p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-content p {
    font-weight: 600;
    color: var(--gray-700);
    margin: 0;
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    background: var(--gradient-ocean);
    color: var(--white);
    position: relative;
}

.wave-top,
.wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: 0;
}

.wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-top svg path {
    fill: var(--gray-50);
}

.wave-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-bottom svg path {
    fill: var(--white);
}

.skills .section-subtitle {
    color: var(--secondary-light);
}

.skills .section-title {
    color: var(--white);
}

.skills .section-title .highlight {
    color: var(--secondary-light);
}

.skills .title-decoration::before,
.skills .title-decoration::after {
    background: var(--gradient-secondary);
}

.skills-content {
    display: grid;
    gap: 50px;
    margin-bottom: 50px;
}

.skills-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary-light);
}

.category-title i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

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

.skill-item {
    text-align: center;
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.skill-item:hover .skill-icon {
    background: var(--secondary);
    transform: scale(1.1) rotate(5deg);
}

.skill-item h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
}

.languages {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.language-card {
    text-align: center;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.language-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.language-card .flag {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.language-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.language-card p {
    color: var(--secondary-light);
    font-size: 0.9rem;
}

/* ========================================
   Activities Section
   ======================================== */
.activities {
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--gray-100);
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition-normal);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 40%, rgba(8, 145, 178, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.overlay-content {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.view-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.view-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(90deg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    position: relative;
    background: var(--gray-50);
}

.contact-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1506665531195-3566af2b4dfa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-bg .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.9), rgba(236, 72, 153, 0.8));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
    color: var(--white);
    font-size: 1.3rem;
}

.card-content h4 {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-content p {
    font-weight: 500;
    color: var(--gray-700);
}

.social-links h4 {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 15px;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.linkedin:hover { background: #0a66c2; }
.social-icon.twitter:hover { background: #1da1f2; }

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
}

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

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.btn-submit {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave svg path {
    fill: var(--gray-50);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

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

.footer-brand .highlight {
    color: var(--secondary);
}

.footer-brand p {
    margin-bottom: 15px;
}

.footer-quote {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--primary-light);
    font-style: italic;
}

.footer-links h4,
.footer-university h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

.footer-university p {
    margin-bottom: 8px;
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--accent);
    animation: heartbeat 1.5s infinite;
}

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

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 .name {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-bg {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 10px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--gray-700);
        padding: 15px 20px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero h1 .greeting {
        font-size: 1.5rem;
    }
    
    .hero h1 .name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .language-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}
