/* 
   RevoltOil Website Styles
   Distinct teal and orange color scheme
*/

:root {
    --primary: #FF6D00;
    --primary-dark: #E65100;
    --primary-light: #FFB74D;
    --secondary: #006064;
    --secondary-light: #B2EBF2;
    --dark: #263238;
    --light: #ECEFF1;
    --white: #FFFFFF;
    --gray: #78909C;
    --transition: all 0.3s ease;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 109, 0, 0.3);
}

.btn.secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn.large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    margin-right: 10px;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -3px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0, 96, 100, 0.8), rgba(255, 109, 0, 0.7)), url('https://source.unsplash.com/random/1600x900/?oil,energy');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    margin-bottom: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats Section */
.stats {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background-color: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.solution-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.solution-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Entertainment Section */
.entertainment {
    background-color: var(--light);
    padding: 4rem 0;
}

.section-info {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--dark-light);
}

.entertainment-links {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.entertainment-links ul {
    margin-bottom: 1.5rem;
}

.entertainment-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.entertainment-links li:last-child {
    border-bottom: none;
}

.entertainment-links a {
    font-weight: 500;
    color: var(--primary);
}

.entertainment-links p {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta h2::after {
    background: var(--white);
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta .btn.primary {
    background-color: var(--white);
    color: var(--secondary);
    border: 2px solid var(--white);
}

.cta .btn.primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 30px;
    margin-top: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 30px;
}

.quote::before {
    content: '\201C';
    font-size: 50px;
    position: absolute;
    left: -5px;
    top: -20px;
    color: var(--primary);
    opacity: 0.5;
}

.author {
    font-weight: 700;
    color: var(--secondary);
    text-align: right;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-left: 10px;
}

.footer-col.brand p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-col p {
    color: var(--gray);
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--gray);
}

.legal-links a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }
    
    nav ul.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}
