:root {
    --primary-blue: #003d7a;
    --light-blue: #0077be;
    --accent-yellow: #ffd700;
    --accent-green: #25D366;
    --white: #ffffff;
    --text-color: #ffffff;
    --dark-text: #003d7a;
    --btn-bg: rgba(255, 255, 255, 0.15);
    --btn-hover: rgba(255, 255, 255, 0.25);
}

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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pool_bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.75) 0%, rgba(0, 119, 190, 0.65) 50%, rgba(37, 211, 102, 0.1) 100%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 30px;
    animation: slideDown 0.6s ease-out;
}

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

.logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: fadeIn 0.8s ease-out;
}

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

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

main {
    width: 100%;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: var(--btn-bg);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 1.4rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.btn:hover {
    background: var(--btn-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn:active {
    transform: translateY(-2px);
}

/* WhatsApp Button Special Style */
.btn-whatsapp {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.35);
    border-color: rgba(37, 211, 102, 0.8);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    }
}

.pulse {
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

/* Address Styling */
.address-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-text {
    font-size: 0.85rem;
    opacity: 0.85;
    font-style: italic;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Portfolio Section */
.portfolio-section {
    margin: 30px 0 20px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.portfolio-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item img, .placeholder-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover .placeholder-img {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.portfolio-item p {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 0.8rem;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }

    .logo {
        max-width: 220px;
    }

    .btn {
        padding: 14px 15px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .btn i {
        font-size: 1.2rem;
        margin-right: 10px;
    }

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

    .portfolio-grid {
        gap: 10px;
    }

    .portfolio-item p {
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .logo {
        max-width: 180px;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 12px;
        font-size: 0.85rem;
    }

    .btn i {
        font-size: 1rem;
        margin-right: 8px;
    }

    .address-text {
        font-size: 0.75rem;
    }
}
