/* 
 * Modern Style for My-Art
 * Een modern, artistiek CSS-bestand voor een professionele kunst-portfolio website
 */

/* ======= Variabelen & Root ======= */
:root {
    --primary: #1F263E;         /* Donkerblauw hoofdkleur */
    --primary-dark: #171c2f;    /* Donkerdere versie voor hover effecten */
    --secondary: #FFA306;       /* Oranje/goud accentkleur */
    --secondary-dark: #e08c00;  /* Donkerdere versie voor hover effecten */
    --tertiary: #FF4C61;        /* Rood/roze accentkleur voor CTA's */
    --tertiary-dark: #e53b50;   /* Donkerdere versie voor hover effecten */
    --accent-purple: #6B5B95;   /* Paarse accentkleur */
    --accent-teal: #44BBAA;     /* Teal accentkleur */
    --accent-red: #FF6F61;      /* Rode accentkleur */
    --light-bg: #f8f9fa;        /* Lichte achtergrond */
    --gray-bg: #e9ecef;         /* Grijze achtergrond */
    --dark-bg: #343a40;         /* Donkere achtergrond */
    --dark-text: #333;          /* Donkere tekst */
    --medium-text: #666;        /* Middeldonkere tekst */
    --light-text: #fff;         /* Lichte tekst */
    --border-radius: 10px;      /* Standaard afronding */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Standaard schaduw */
    --transition: all 0.3s ease; /* Standaard transitie */
}

/* ======= Algemene styling ======= */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden; /* Voorkom horizontale scroll */
}

h1, h2, h3, h4, .artistic-font {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.btn {
    transition: var(--transition);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 38, 62, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 163, 6, 0.3);
}

.btn-facebook {
    background-color: #4267B2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.btn-facebook:hover {
    background-color: #385898;
    color: white;
    transform: translateY(-2px);
}

/* ======= Decoratieve elementen ======= */
.brush-stroke-accent {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

.accent-top-right {
    top: 80px;
    right: 5%;
    width: 150px;
    height: 100px;
    background-image: url('img/brush-stroke-1.png');
}

.accent-bottom-left {
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 80px;
    background-image: url('img/brush-stroke-2.png');
    transform: rotate(45deg);
}

.subtle-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/texture-overlay.png');
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.canvas-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/canvas-texture.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/canvas-texture.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Secties en titels */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title-left {
    text-align: left;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--primary);
}

.brush-stroke-title {
    display: block;
    width: 150px;
    height: 15px;
    background-image: url('img/brush-stroke-title.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: -15px auto 40px;
    opacity: 0.7;
}

.brush-stroke-title-left {
    display: block;
    width: 150px;
    height: 15px;
    background-image: url('img/brush-stroke-title.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    margin: -15px 0 40px;
    opacity: 0.7;
}

.brush-stroke-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.brush-stroke-container:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: url('img/brush-stroke-title.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* ======= Hero Section Styling ======= */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2c3454 100%);
    padding: 100px 0 80px;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

/* Hero gallery met kunstwerken */
.hero-gallery {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-artwork {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.hero-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.hero-artwork:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    z-index: 10 !important;
}

/* CTA knoppen */
.btn-register {
    background-color: var(--tertiary);
    color: var(--light-text);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(255, 76, 97, 0.3);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-register: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: all 0.5s ease;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 76, 97, 0.5);
    color: var(--light-text);
    background-color: #ff3a51;
}

.btn-register:hover:before {
    left: 100%;
}

.btn-login {
    background-color: transparent;
    color: var(--light-text);
    padding: 10px 25px;
    font-weight: 600;
    border: 2px solid var(--light-text);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login: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: all 0.5s ease;
}

.btn-login:hover {
    background-color: var(--light-text);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-login:hover:before {
    left: 100%;
}

/* ======= Artwork Preview Section - Grid ======= */
.artwork-preview {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.artwork-grid {
    margin-top: 40px;
}

.artwork-item {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.artwork-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.artwork-frame {
    position: relative;
    padding: 15px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    transition: var(--transition);
    transform: rotate(-1deg);
    overflow: hidden;
}

.artwork-frame:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.artwork-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.5s ease;
    transform: rotate(1deg);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 38, 62, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.view-artwork-btn {
    width: 50px;
    height: 50px;
    background-color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 18px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.artwork-item:hover .artwork-frame {
    transform: rotate(0deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.artwork-item:hover .artwork-frame img {
    transform: scale(1.05) rotate(0deg);
}

.artwork-item:hover .artwork-overlay {
    opacity: 1;
}

.artwork-item:hover .view-artwork-btn {
    transform: scale(1);
}

.view-artwork-btn:hover {
    background-color: var(--secondary);
    color: var(--light-text);
}

/* ======= Stats Section ======= */
.stats-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.stats-card {
    text-align: center;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    height: 100%;
    border-bottom: 5px solid var(--primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.stats-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stats-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/texture-overlay.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--secondary);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stats-number:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}

.stats-text {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.stats-cta {
    color: var(--secondary);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.stats-card:hover .stats-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ======= Features Section ======= */
.features-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: all 0.5s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/texture-overlay.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.feature-card:hover {
    border-bottom: 4px solid var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s ease;
    position: relative;
}

.feature-icon:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    background: var(--secondary);
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon:before {
    transform: scale(1.2);
    opacity: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* ======= About Section ======= */
.about-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about-text {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.about-image-container {
    position: relative;
    padding: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.about-image-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    border-radius: var(--border-radius);
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.image-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 10px solid white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    transform: rotate(-3deg);
    z-index: 1;
    transition: all 0.5s ease;
}

.about-image-container:hover .about-image {
    transform: translateY(-5px);
}

.about-image-container:hover .image-frame {
    transform: rotate(0deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ======= CTA Section ======= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2c3454 100%);
    color: var(--light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* ======= Share Section ======= */
.share-section {
    background-color: var(--light-bg);
    padding: 50px 0;
}

.share-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ======= Formulieren ======= */
.form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin: 40px auto;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/texture-overlay.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.form-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
    display: block;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 15px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(255, 163, 6, 0.25);
}

.form-text {
    font-size: 0.85rem;
    color: var(--medium-text);
    margin-top: 5px;
}

.form-button {
    width: 100%;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.form-button: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: all 0.5s ease;
}

.form-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 38, 62, 0.3);
}

.form-button:hover:before {
    left: 100%;
}

/* ======= Selectie-opmaak ======= */
::selection {
    background-color: var(--secondary);
    color: white;
}

/* ======= Responsieve aanpassingen ======= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .stats-number {
        font-size: 3rem;
    }
    
    .feature-card, .stats-card {
        margin-bottom: 30px;
    }
    
    .artwork-frame img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin: 0 auto 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-register, .btn-login {
        margin-right: 0;
        margin-bottom: 15px;
        width: 80%;
    }
    
    .image-frame {
        display: none;
    }
    
    .section-title, .section-title-left, .cta-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 25px;
    }

    .brush-stroke-accent {
        display: none; /* Verberg decoratieve elementen op mobiel */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-register, .btn-login {
        width: 100%;
    }
    
    .artwork-frame img {
        height: 200px;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .stats-text {
        font-size: 1.1rem;
    }
    
    .section-title, .section-title-left, .cta-title {
        font-size: 1.8rem;
    }

    .brush-stroke-title, .brush-stroke-title-left {
        width: 100px;
        margin: -10px auto 30px;
    }

    .brush-stroke-title-left {
        margin-left: 0;
    }
}

/* ======= Animaties ======= */
/* Animatie bij scrollen */
.feature-card, .stats-card, .about-image-container, .artwork-item {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: auto;
    margin-right: 25px;
}

.hamburger-lines {
    width: 30px;
    height: 26px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger .line {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--secondary);
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger .line1 {
    top: 0;
}

.hamburger .line2 {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger .line3 {
    bottom: 0;
}

.hamburger.active .line1 {
    transform: rotate(45deg);
    top: 12px;
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(-45deg);
    bottom: 11px;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
}