/*
Theme Name: Aquatic Specialties
Theme URI: https://www.aquaticspecialties.com
Author: Lenin Pulgar
Author URI: https://wwww.lenin.dev
Description: Custom theme for Aquatic Specialties.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aquatic-specialties
Tags: aquatic, specialties, custom, theme, portfolio, business
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */


 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }

 body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
 }


 /* Homepage Styles */

/* Global Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.text-blue {
    color: #5865F2;
}

.text-yellow {
    color: #FFD700;
}

/* Hero Section */
.hero-section {
    background: #000;
    min-height: 600px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 600px;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

/* Fallback Image Background */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

/* Hero Overlay (optional - adds a dark overlay over video/image) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.hero-logo img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 10em;
    margin-top:4em;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-yellow {
    background: #FFD700;
    color: #000;
}

/* New Arrivals Section */
.new-arrivals-section {
    padding: 80px 0;
    background: #fff;
}

.arrivals-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.arrivals-slider {
    overflow: hidden;
}

.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.3s ease;
}

.arrival-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.arrival-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.arrival-image {
    display: block;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.arrival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.arrival-card:hover .arrival-image img {
    transform: scale(1.1);
}

.arrival-info {
    padding: 20px;
}

.arrival-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.arrival-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.arrival-title a:hover {
    color: #5865F2;
}

.arrival-price {
    font-size: 16px;
    font-weight: 600;
    color: #5865F2;
    margin: 0;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #5865F2;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: #5865F2;
}

.slider-arrow:hover {
    background: #5865F2;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: url('./assets/images/newsletter-bg.png') center/cover no-repeat;
    position: relative;
    min-height: 400px;
    padding: 2em;
}

.newsletter-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 80px 0;
}

.newsletter-content {
    /* max-width: 800px; */
    padding: 2em;
    margin: 0 auto;
    text-align: left;
    color: #fff;
}

.newsletter-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.newsletter-description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    
    flex-wrap: wrap;
    max-width: 600px;
    
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: box-shadow 0.3s;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.newsletter-message.success {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
}

.newsletter-message.error {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-tagline {
    font-size: 16px;
    color: #5865F2;
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: #F34C70;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 138, 0.4);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* Corals Section */
.corals-section {
    background: url('./assets/images/corals-bg.png') center/cover no-repeat;
    position: relative;
    min-height: 400px;
}

.corals-overlay {
    background: rgba(26, 31, 77, 0.32);
    padding: 80px 0;
    height: 100%;
    min-height:400px;
}

.corals-content {
    max-width: 700px;
    color: #fff;
}

.corals-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.corals-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .arrivals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .hero-section {
        min-height: 100vh;
        padding: 40px 20px;
    }

    /* Ensure video covers properly on mobile */
    .hero-video {
        object-fit: cover;
    }

    .hero-logo img {
        max-width: 400px;
    }

    .hero-buttons {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btn {
        min-width: 200px;
        justify-content: center;
    }

    .arrivals-slider-wrapper {
        padding: 0 50px;
    }

    .arrivals-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        padding-right: 0;
    }

    .newsletter-title,
    .corals-title {
        font-size: 32px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-logo img {
        max-width: 320px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 180px;
    }

    .new-arrivals-section,
    .about-section {
        padding: 50px 0;
    }

    .newsletter-overlay,
    .corals-overlay {
        padding: 50px 0;
    }

    .newsletter-content{
        padding: 1em;
    }

    .arrivals-slider-wrapper {
        padding: 0 40px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .arrival-image {
        height: 250px;
    }

    .newsletter-title,
    .corals-title {
        font-size: 26px;
    }

    .newsletter-description,
    .corals-description {
        font-size: 14px;
    }
}