/*
Theme Name: Blackgrain Workshop - Coming Soon
Theme URI: https://www.instagram.com/joanna.szamota/
Author: Blackgrain Workshop
Author URI: https://www.instagram.com/joanna.szamota/
Description: Strona w przygotowaniu - Coming Soon page for Blackgrain Workshop with Instagram integration
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackgrain-coming-soon
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Playfair Display', Georgia, serif;
}

body {
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.coming-soon-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Main Content */
.main-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.coming-soon-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Instagram Button */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

/* Instagram Feed Section */
.instagram-feed-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 20px;
}

.instagram-feed-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Instagram Embeds Grid */
.instagram-embeds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.instagram-embeds .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.instagram-post {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-post a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Instagram Embed Container */
.instagram-embed-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.instagram-embed-container blockquote {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 10px;
    overflow: hidden;
}

/* Manual Feed Placeholder */
.instagram-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.copyright a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .instagram-embeds {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-subtitle {
        font-size: 1.1rem;
    }
    
    .instagram-feed,
    .instagram-embeds,
    .instagram-embed-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .coming-soon-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .coming-soon-subtitle {
        font-size: 1rem;
    }
    
    .instagram-link {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .instagram-feed,
    .instagram-embeds,
    .instagram-embed-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .logo {
        max-width: 150px;
    }
}
