/* Custom Font */
@font-face {
    font-family: 'Moglan';
    src: url('fonts/moglan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #66635b;
    --secondary-color: #d6ceb2;
    --accent-color: #ffffff;
    --text-dark: #333333;
    --text-light: #f8f8f8;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Moglan', 'Montserrat', sans-serif;
}

body {
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Split Layout */
.split-layout {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .split-layout {
        flex-direction: row;
    }
}

/* Left Side - Hero Image */
.hero-image {
    flex: 1;
    min-height: 40vh;
    background: url('images/hero.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-image {
        min-height: 100vh;
    }
}

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

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.shape:hover {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 25%;
    animation: float1 25s ease-in-out infinite, pulse 4s ease-in-out infinite alternate;
    background: rgba(255, 255, 255, 0.2);
    will-change: transform;
}

.shape-2 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 15%;
    animation: float2 30s ease-in-out infinite, pulse 5s ease-in-out infinite alternate-reverse;
    background: rgba(255, 255, 255, 0.15);
    will-change: transform;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 55%;
    left: 15%;
    animation: float3 35s ease-in-out infinite, pulse 3.5s ease-in-out infinite alternate;
    background: rgba(255, 255, 255, 0.18);
    will-change: transform;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 20%;
    animation: float4 28s ease-in-out infinite, pulse 4.5s ease-in-out infinite alternate-reverse;
    background: rgba(255, 255, 255, 0.12);
    will-change: transform;
}

.shape-5 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 30%;
    animation: float5 32s ease-in-out infinite, pulse 5.5s ease-in-out infinite alternate;
    background: rgba(255, 255, 255, 0.1);
    will-change: transform;
}

.shape-6 {
    width: 140px;
    height: 140px;
    top: 70%;
    right: 30%;
    animation: float6 38s ease-in-out infinite, pulse 4s ease-in-out infinite alternate-reverse;
    background: rgba(255, 255, 255, 0.14);
    will-change: transform;
}

.shape-7 {
    width: 90px;
    height: 90px;
    top: 40%;
    right: 40%;
    animation: float7 40s ease-in-out infinite, pulse 6s ease-in-out infinite alternate;
    background: rgba(255, 255, 255, 0.16);
    will-change: transform;
}

/* Right Side - Content */
.content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 6rem;
    position: relative;
}

@media (min-width: 1024px) {
    .content-side {
        padding: 2rem;
    }
}

/* Glass Container */
.glass-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .glass-container {
        padding: 2.5rem;
    }
}

/* Logo */
.logo {
    max-width: 180px;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease, filter 0.5s ease;
}


/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

/* Buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    margin-right: 10px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.email-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Contact Info */
.contact-info {
    margin-top: 2.5rem;
    display: grid;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.contact-item {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    background: #f8f8f8;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid #eee;
    font-size: 0.95rem;
}

.contact-item i {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.contact-item:hover {
    background: #f0f0f0;
    transform: translateX(3px);
}

/* WhatsApp specific styles */
.contact-item[href*="whatsapp"] {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.contact-item[href*="whatsapp"] i,
.contact-item[href*="whatsapp"] span {
    color: white;
    opacity: 1;
}

.contact-item[href*="whatsapp"]:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* LinkedIn specific styles */
.contact-item[href*="linkedin"] {
    background: #323232;
    color: white;
    border-color: #0A66C2;
}

.contact-item[href*="linkedin"] i,
.contact-item[href*="linkedin"] span {
    color: white;
    opacity: 1;
}

.contact-item[href*="linkedin"]:hover {
    background: #084d94;
    border-color: #084d94;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.copyright {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.8;
}

/* Animations */
@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(90deg); }
    50% { transform: translate(200px, -30px) rotate(180deg); }
    75% { transform: translate(100px, -60px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-80px, 70px) rotate(-90deg); }
    50% { transform: translate(-160px, 20px) rotate(-180deg); }
    75% { transform: translate(-80px, -50px) rotate(-270deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(120px, -40px) rotate(120deg); }
    66% { transform: translate(-100px, 60px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-90px, -30px) rotate(-120deg); }
    66% { transform: translate(80px, 40px) rotate(-240deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes float5 {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(60px, 40px) rotate(72deg); }
    40% { transform: translate(100px, -30px) rotate(144deg); }
    60% { transform: translate(-20px, -70px) rotate(216deg); }
    80% { transform: translate(-80px, 20px) rotate(288deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float6 {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-70px, 30px) rotate(-72deg); }
    40% { transform: translate(-120px, -20px) rotate(-144deg); }
    60% { transform: translate(40px, -50px) rotate(-216deg); }
    80% { transform: translate(90px, 10px) rotate(-288deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes float7 {
    0% { transform: translate(0, 0) rotate(0deg); }
    16% { transform: translate(40px, -20px) rotate(60deg); }
    32% { transform: translate(80px, 30px) rotate(120deg); }
    48% { transform: translate(40px, 60px) rotate(180deg); }
    64% { transform: translate(-40px, 30px) rotate(240deg); }
    80% { transform: translate(-80px, -20px) rotate(300deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    
    .logo {
        max-width: 140px;
        margin-bottom: 1.5rem;
    }
    
    .glass-container {
        padding: 1.5rem 1.25rem;
        margin: -30px 1rem 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    
    .contact-item {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-item i {
        font-size: 0.9rem;
        margin-right: 10px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .glass-container {
        margin: 0;
    }
}
