/* Porcus3D Website Styles - Matching Google Sites Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: rgba(33, 33, 33, 1);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: 0.3px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Header and Navigation */
.header {
    background-color: rgba(116, 31, 138, 1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(116, 31, 138, 0.6), rgba(129, 71, 147, 0.5)), url('../media/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: white;
    color: rgba(116, 31, 138, 1);
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: rgba(116, 31, 138, 1);
}

.btn-outline {
    background-color: transparent;
    color: rgba(116, 31, 138, 1);
    border: 2px solid rgba(116, 31, 138, 1);
}

.btn-outline:hover {
    background-color: rgba(116, 31, 138, 1);
    color: white;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: rgba(33, 33, 33, 1);
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1rem;
    font-weight: 400;
}

.service-card p {
    color: rgba(33, 33, 33, 0.8);
    margin-bottom: 1.5rem;
}

.service-link {
    color: rgba(116, 31, 138, 1);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom-color: rgba(116, 31, 138, 1);
}

/* Sustainability Highlight */
.sustainability-highlight {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(116, 31, 138, 0.05), rgba(129, 71, 147, 0.05));
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sustainability-text h2 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1.5rem;
}

.sustainability-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(33, 33, 33, 0.8);
}

.sustainability-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(116, 31, 138, 1);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(33, 33, 33, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 0;
    background-color: rgba(116, 31, 138, 1);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: rgba(33, 33, 33, 1);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(116, 31, 138, 1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(116, 31, 138, 1);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sustainability-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sustainability-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .sustainability-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Social Media Page Styles */
.social-content {
    padding: 4rem 0;
}

.social-section {
    margin-bottom: 5rem;
}

.social-header {
    text-align: center;
    margin-bottom: 3rem;
}

.social-header h2 {
    font-size: 2.2rem;
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1rem;
}

.social-header p {
    font-size: 1.1rem;
    color: rgba(117, 117, 117, 1);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Instagram Widget Styling */
.instagram-feed {
    margin-bottom: 3rem;
}

.instagram-widget {
    text-align: center;
    min-height: 400px;
    padding: 2rem;
    background: rgba(250, 250, 250, 1);
    border-radius: 8px;
    border: 1px solid rgba(228, 228, 228, 1);
}

.instagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.instagram-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.instagram-placeholder h3 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1rem;
}

.instagram-placeholder p {
    color: rgba(117, 117, 117, 1);
    margin-bottom: 1rem;
    max-width: 400px;
}

.instagram-placeholder small {
    opacity: 0.7;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(116, 31, 138, 0.1);
    border-left: 4px solid rgba(116, 31, 138, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instagram Feed Providers */
.primary-feed {
    margin-bottom: 2rem;
}

.backup-feed {
    margin-bottom: 2rem;
}

.embedsocial-iframe-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.embedsocial-iframe-container iframe {
    width: 100%;
    border: none;
    min-height: 600px;
}

/* Instagram embed styling */
.instagram-media {
    margin: 0 auto !important;
    max-width: 540px;
    width: calc(100% - 2px);
}

/* Error states */
.feed-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: rgba(220, 53, 69, 1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
}

.feed-error a {
    color: rgba(220, 53, 69, 1);
    font-weight: 500;
}

/* Success states */
.feed-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: rgba(40, 167, 69, 1);
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Manual Posts Grid */
.manual-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(116, 31, 138, 1);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(116, 31, 138, 0.1), rgba(116, 31, 138, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-placeholder {
    font-size: 3rem;
    opacity: 0.7;
}

.post-content {
    padding: 1.5rem;
}

.post-content h4 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 0.5rem;
}

.post-content p {
    color: rgba(117, 117, 117, 1);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.post-content a {
    color: rgba(116, 31, 138, 1);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
}

.post-content a:hover {
    text-decoration: underline;
}

/* YouTube Section */
.youtube-section {
    margin-top: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.video-placeholder {
    background: rgba(250, 250, 250, 1);
    border: 1px solid rgba(228, 228, 228, 1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(245, 245, 245, 1);
    transform: translateY(-2px);
}

.video-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-placeholder h4 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    color: rgba(117, 117, 117, 1);
    font-size: 0.9rem;
}

/* Social CTA Section */
.social-cta {
    background: linear-gradient(135deg, rgba(116, 31, 138, 0.05), rgba(116, 31, 138, 0.1));
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    color: rgba(116, 31, 138, 1);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(117, 117, 117, 1);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-social {
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-social.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.btn-social.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.4);
}

.btn-social.youtube {
    background: #ff0000;
    color: white;
}

.btn-social.youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Mobile Responsive for Social Page */
@media (max-width: 768px) {
    .social-content {
        padding: 3rem 0;
    }
    
    .social-section {
        margin-bottom: 4rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .social-cta {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-social {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}