/* General Styles */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #000;
    --secondary-color: #333;
    --accent-color: #555;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --wix-bg-color: #ffffff;
    --wix-text-color: #000000;
    --wix-accent-color: #000000;
    --wix-button-color: #000000;
    --wix-button-text: #FFFFFF;
    --wix-form-bg: #ffffff;
    --wix-form-border: #CCCCCC;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--wix-text-color);
    line-height: 1.6;
    background-color: var(--wix-bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2em;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
}

.header-spacer {
    height: 106px; /* Adjust based on your header height */
}

/* Hero Section */
#hero {
    /*min-height: 100vh;*/
    background-color: var(--wix-bg-color);
    padding: 0 0 80px;
    display: flex;
    align-items: center;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

#hero h2 {
    font-size: 2rem;
    color: var(--wix-accent-color);
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: enriqueta, serif;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Portfolio Section */
#portfolio {
    padding: 80px 0;
}

#portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    display: block;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

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

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

.portfolio-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* CV Section */
#cv {
    padding: 100px 0;
    background-color: var(--wix-bg-color);
}

#cv h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: var(--wix-bg-color);
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.form-control {
    border-radius: 0;
    padding: 16px 20px;
    margin-bottom: 25px;
    border: 1px solid var(--wix-form-border);
    background-color: var(--wix-form-bg);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--wix-accent-color);
}

.btn-primary {
    background-color: var(--wix-button-color);
    border-color: var(--wix-button-color);
    border-radius: 0;
    padding: 16px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: var(--wix-button-text);
    border-radius: 40px;
}

#portfolio img{
    border-radius: 15px;
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--wix-bg-color);
    color: white;
    padding: 30px 0;
}

.social-links a {
    margin-left: 15px;
    transition: color 0.3s ease;
    margin-right: 1.5rem;
    text-decoration: none;
}

img.icon-img {
    height: 30px;
}

.social-links a:hover {
    color: #ccc !important;
}

/* Project Page */
#project-details {
    padding: 100px 0;
}

#project-details h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#project-details h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.gallery-item {
    cursor: pointer;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

.video-thumbnail {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Admin Styles */
.admin-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: #f8f9fa;
    text-align: left;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.admin-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--dark-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.admin-btn:hover {
    background-color: var(--accent-color);
}

.admin-btn-danger {
    background-color: #dc3545;
}

.admin-btn-danger:hover {
    background-color: #c82333;
}

.gallery-sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.gallery-item-admin {
    width: 150px;
    position: relative;
    border: 1px solid #ddd;
    cursor: move;
}

.gallery-item-admin img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.gallery-item-admin .remove-item {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(220, 53, 69, 0.8);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.hide-desktop{
    display: none;
}
.hide-mobile{
    display: block;
}
.img_profile{
    width: 234px;
    height: 234px;

    margin: 30px 0px;

}
.navbar-toggler{
    box-shadow: none !important;
    border: 0 !important;
}

textarea.form-control{
    min-height: 154px !important;
    max-height: 500px !important;
    transition: none !important;
}
/* Responsive Styles */
@media (max-width: 992px) {
    .btn-primary:hover {
        background-color: var(--wix-button-color);
        border-color: var(--wix-button-color);
    }
    #contact{
        padding-top: 150px !important;
    }
    .img_profile{
        width: 200px;
        height: 200px;
    }
    #download-cv{
        margin-top: 0.5rem !important;
    }
    .header-spacer {
        height: 56px; /* Adjust based on your header height */
    }
    .navbar .container{
        justify-content: end;
        text-align: center;
    }
    .hide-desktop{
        display: block;
    }
    .hide-mobile{
        display: none;
    }
    #hero h1 {
        font-size: 1.6rem;
    }
    
    #hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 0px 0;
    }
    
    #hero h1 {
        font-size: 1.6rem;
    }
    
    #hero h2 {
        font-size: 1.2rem;
    }
    
    #portfolio h2, #cv h2, #contact h2 {
        font-size: 2rem;
    }
    
    .portfolio-image-container img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 1.6rem;
    }
    
    .portfolio-image-container img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}
