/* ============================================
   ABEL-TO-DESIGN - Modern CSS
   ============================================ */

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

/* ============================================
   VARIABLES & COLORS
   ============================================ */

:root {
    --primary-color: #d4a574;
    --secondary-color: #f2de7a;
    --accent-color: #ae7c2b;
    --dark-bg: #121212;
    --light-text: #ffffff;
    --dark-text: #000000;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: url('../assets/images/backgrounds/background-atd.webp') no-repeat center center fixed;
    background-size: cover;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: var(--light-text);
    z-index: 1;
    background: linear-gradient(180deg, rgba(174, 124, 43, 0.9) 0%, rgba(242, 222, 122, 0.8) 50%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#logo-container {
    margin: 15px 0;
}

#logo-container img {
    max-width: 240px;
    height: auto;
    transition: var(--transition);
}

#logo-container img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.5));
}

/* ============================================
   CONTACT BUTTONS (HEADER)
   ============================================ */

#switcher-button-wrapper {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    width: 100%;
    padding: 15px;
    flex-wrap: wrap;
    z-index: 2;
}

#switcher-button-wrapper a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

#switcher-button-wrapper a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    #switcher-button-wrapper {
        gap: 10px;
        padding: 10px;
    }

    #switcher-button-wrapper a {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    #switcher-button-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    #switcher-button-wrapper a {
        width: 100%;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

#main-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 0;
    min-min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(242, 222, 122, 0.1) 100%);
    border-bottom: 3px solid var(--primary-color);
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#hero .tagline {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

#hero .subtitle {
    font-size: 1.1rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    #hero {
        padding: 40px 15px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero .tagline {
        font-size: 1.1rem;
    }

    #hero .subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   PROFILE SECTION
   ============================================ */

#profile {
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 222, 122, 0.05) 100%);
    border-bottom: 2px solid var(--primary-color);
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-image {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 4px solid var(--primary-color);
    transition: var(--transition);
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.profile-text {
    flex: 1;
    text-align: left;
}

.profile-text h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    #profile {
        padding: 40px 15px;
    }

    .profile-container {
        flex-direction: column;
        gap: 30px;
    }

    .profile-image {
        width: 200px;
        height: 250px;
    }

    .profile-text {
        text-align: center;
    }

    .profile-text h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

#services {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 1);
}

#services h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
    border-left-color: var(--secondary-color);
}

.service-card.highlight {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(242, 222, 122, 0.1) 100%);
    border-left-color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 8px 0;
    color: #333;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

@media screen and (max-width: 768px) {
    #services {
        padding: 40px 15px;
    }

    #services h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   CALL-TO-ACTION SECTION
   ============================================ */

#cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--light-text);
    text-align: center;
}

#cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

#cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--light-text);
    color: var(--accent-color);
    border-color: var(--light-text);
}

.btn-primary:hover {
    background: transparent;
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    #cta {
        padding: 40px 15px;
    }

    #cta h2 {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(0deg, rgba(84, 83, 83, 1) 0%, rgba(124, 124, 124, 1) 25%, rgba(255, 255, 255, 1) 50%, rgba(242, 222, 122, 1) 75%, rgba(174, 124, 43, 1) 100%);
    padding: 20px;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.socialb {
    filter: grayscale(100%);
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.social a:hover .socialb {
    filter: grayscale(0%);
}

@media screen and (max-width: 768px) {
    .social {
        gap: 15px;
    }

    .social a {
        width: 50px;
        height: 50px;
    }

    .socialb {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   IMAGES
   ============================================ */

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    header, footer {
        display: none;
    }

    #main-content {
        background: white;
    }
}

